View Full Version : Locking website photos
April 13th, 2005, 02:14 PM
Does anybody know of a way to protect photos on a webpage? Basically so that you can't right-click and save the photo to your hardrive.
Will it just be a bit of code or is it a bit more complicated than that?
It's for a charity site I'm doing and they really want this to work.
April 13th, 2005, 02:17 PM
You can prevent hot linking, but you can't fully protect against straight up downloads. Reference this site (http://apache-server.com/tutorials/ATimage-theft.html) for more information.
April 13th, 2005, 02:21 PM
So your best bet is to put some sort of watermark on the files, so they are of no use to anyone if they copy them.
April 13th, 2005, 02:44 PM
Thanks for the quick responses :smile:
I tried some java-script to disable the right-click. It worked in Firefox, but suprise, suprise it did not work in IE. I know what your saying about the image already downloaded to the drive if the browser is displaying it. I've trying to explain this to the person I am doing it for :roll: .
I checked out the link dataw0lf posted. I take it you need your own server for this sort of thing to work?
April 13th, 2005, 02:46 PM
Correct. Those are Apache configurable values.
April 13th, 2005, 08:18 PM
Put on a license agreement :)
"You may only view this picture if you position your head such that your left eye forms a pi/4 radian angle with respect to the magnetic field coming from your monitor. Violators will be prosecuted and subject to 6 months of a Microsoft OS"
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.