How can we restrict the user from saving a web page?

vikrant picture vikrant · Mar 5, 2009 · Viewed 8.7k times · Source

How can we restrict a user from saving the page?

Please provide some tips to disable File->Save and View Source options

EDIT: Obviously it can't be done, and probably shouldn't be attempted. But possibly a more interesting variant on this question is how can we make is sufficiently hard for a user to save a page in a usable format such that it is not worth their while doing so? The question doesn't pose a value, but say we were protecting an article subscription site where the user is paying a few hundred dollars per annum for continued access to text.

Answer

Ben S picture Ben S · Mar 5, 2009

Since the page has been sent to the client, there will always be a way to get that information. Trying to stop a user from doing this will only frustrate them.

The only way to have a user not be able to save a file is to not send it to them.