jwmstudios Posted December 17, 2006 Share Posted December 17, 2006 Hello everyone, is there a PHP script that can prevent a user from downloading a photo to their hard drive, only viewable but not downloadable? Quote Link to comment Share on other sites More sharing options...
fert Posted December 17, 2006 Share Posted December 17, 2006 I don't think this is possible. Quote Link to comment Share on other sites More sharing options...
papaface Posted December 17, 2006 Share Posted December 17, 2006 This is not possible as when a person views an image in their web browser it IS actually downloaded. Quote Link to comment Share on other sites More sharing options...
jwmstudios Posted December 17, 2006 Author Share Posted December 17, 2006 Ok Quote Link to comment Share on other sites More sharing options...
NHStars Posted December 17, 2006 Share Posted December 17, 2006 You can't do it with PHP, the only way is if you had it in a Flash format. PHP and Flash can be used in conjunction to do this in a gallery format. However, even doing that it's still possible to steal the pictures because there are SWF decompiler programs out there and it would give anyone with Flash knowledge the ability to get the URL of your images. The only foolproof way is the PHP/Flash idea with a properly CHMOD'd directory for the images. Quote Link to comment Share on other sites More sharing options...
marcus Posted December 17, 2006 Share Posted December 17, 2006 You could always password protect your directories, if somebody was not-lazy to actually view the image in a sep. window/tab that they couldnt access that folder Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.