RE: [PHP] How to prevent people from downloading images

From: Date: Wed, 04 Jul 2001 00:46:51 +0000
Subject: RE: [PHP] How to prevent people from downloading images
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56093@lists.php.net to get a copy of this message
I don't remember exactly the code on how to do it, but you have have the images placed in a folder outside the server's public document tree (like you would do with includes) ... that way, I couldn't link directly to your pic. As for stopping someone from right clicking on the image and doing a "save as," I'm not sure if its possible, although I would love to hear if someone has come up with a way. --Mark. -----Original Message----- From: rodrigo [mailto:rodrigo@shreve.net] Sent: Tuesday, July 03, 2001 5:37 PM To: php php Subject: [PHP] How to prevent people from downloading images This is probably more of a client side programming issue rather than something that has to do with PHP. But I figure that some of you might have something meaningful to comment. I need a way to prevent the download of some images in a web page. I also require that these images be presented within the web page. That is, I don' want them to be displayed in another window. They should remain embedded in the web page along with the rest of the page elements. Thanks in advance. -- ************************************ Ivan R. Quintero E.* (507)228-3477 Aptdo 1263 * (507)228-9105 Balboa, Ancon * 612-1103 Republic of Panama * ************************************ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#56093) next »