Jump to content

Disable save as


kurt.santo
 Share

Recommended Posts

How can you prevent images from being downloaded from a webpage? I know about preventing hotlinking, but not how to disable the "save as"...Kurt
Everything that can be seen on the browser can be saved on the user's computer, I know this myself. There's not a website that I can't take content from, if all else fails they can allway make a screen capture of your site and cut out the images.For the most protection, though, you can prevent them from opening images on their own with .htaccess somehow (I never fooled with .htaccess because my web host doesn't allow it).Also, if you're interested, try putting a "glass window" in front of your pictures by making a <div> positioned right in front of the image using z-index. It prevents them from selecting or right-clicking the image.<div style="position: relative;"><img src="url" alt="alt" style="width: 200px; height: 200px;" /><div style="position: absolute; top: 0px; left: 0px; width: 200px; height: 200px; z-index: 50"></div></div>
Link to comment
Share on other sites

Even without being able to save a page, they can still copy the source code.
It won't do much for them if by opening the image URL (obtained from the source code) directly the image doesn't show up (using .htaccess).So a glass window combined with .htaccess leaves most images vulnerable just to the "print screen" button.
Link to comment
Share on other sites

That would stop people from being able to right-click on it, but they can still get the URL. I'm not aware of a way to set up .htaccess to block direct access to file, where you just type in the URL, but allow it if the referrer is a certain page. It might be possible.But some browsers (Opera) will give links to all of the images and content used on a page anyway.

Link to comment
Share on other sites

That would stop people from being able to right-click on it, but they can still get the URL. I'm not aware of a way to set up .htaccess to block direct access to file, where you just type in the URL, but allow it if the referrer is a certain page. It might be possible.But some browsers (Opera) will give links to all of the images and content used on a page anyway.
Its a shame there is no universal way to do this, so images can neither be saved as nor directly accessed with their urls. Thanks for all your inputs...Kurt
Link to comment
Share on other sites

That's just the nature of the internet. The express purpose of the internet is to move data from point A to point B as efficiently as possible. When you visit a page with your browser you are asking the server to send an image to you so that you can display it on the page. Once that happens the data is on the client, the client can do anything that it wants with the data, literally. That's just the nature of the internet, this isn't a place where people keep secrets, it's a place where people share information, including images.

Link to comment
Share on other sites

That's just the nature of the internet. The express purpose of the internet is to move data from point A to point B as efficiently as possible. When you visit a page with your browser you are asking the server to send an image to you so that you can display it on the page. Once that happens the data is on the client, the client can do anything that it wants with the data, literally. That's just the nature of the internet, this isn't a place where people keep secrets, it's a place where people share information, including images.
I agree with you, in this way it is a good environment to be (hence I really like this forum: people help out each other). It is just a shame that not everyone follows the general rules (spam issues, stealing content and subsequent charging others for it etc). Anyhow, maybe this is the risk you always have...Kurt
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...