I would like to protect the content of my web-site pages. Does anyone know how to disable the 'File->Save As' command on a web-browser.
Disable browser save as command
Collapse
X
-
Heya, Blackmore.
The problem with what you are asking is that in order for your browser to view an image, it has to first download the file and save it into your browser's cache folder!
So even if you could disable the 'Save As' command (which could be bypassed simply by turning off JavaScript anyway!), a determined thief could still grab the image from his browser cache.
As Acoder mentioned, the only reliable method for protecting your images is to watermark them, or else to only provide a low-quality preview version.Comment
-
dont listen to them :-) they are right but there is many ways to deal with problems - but if you ask fo simply solution there is nosimply solution in this caseOriginally posted by BlackmoreI would like to protect the content of my web-site pages. Does anyone know how to disable the 'File->Save As' command on a web-browser.
what r you going to protect? text? images?
jx2Comment
-
Originally posted by jx2dont listen to them :-) they are right but there is many ways to deal with problems - but if you ask fo simply solution there is nosimply solution in this case
what r you going to protect? text? images?
jx2
To be honest, I want to be able to protect just about everything on my website, including the html content of my pages. Therefore, I want to be able to prevent users from saving the webpage on there hard discs.
I have seen some websites that appear to disable the 'Save As' command on a browser and I want to include this feature on mine.
Regards
BlackmoreComment
-
Heya, Blackmore.
You may want to consider using encrypted PDFs that allow the User to view, but not edit, the contents.
Attempting to 'secure' HTML is simply not a realistic goal, due to the nature of the beast. Your code has to get sent in an open format that any browser can read, and even if you could disable the 'save as' command (which I guarantee you would ONLY work in Internet Explorer anyway), anybody could circumvent your safeguards by disabling JavaScript, pulling the data straight from the cache, using cURL... just to name the three ideas that came to mind most quickly.
I think you really need to rethink your delivery model. If you want to protect your content, then you need to deliver it via a protected medium.Comment
Comment