In my site we are doing image protecting section. Can I protect images in my site from others without download.That is i want to protect my image from downloading by others.Is it possible using php code
preguntado el 24 de agosto de 12 a las 10:08
You can't protect your images with PHP because PHP is server side. JS can be used because it's client side, but somebody can easily disable JS in their browser and save the image anyway. There is no way to fully protect the images that you're displaying. If it's available via the Internet, anyone can download it.
If site visitors can see your images they will be able to save or make copies of them. E.g., they can do a screendump and save the image from the clipboard.
You can add a watermark to it.
You can write some copyright string on or near the image.
If you are using those images users to display you can not protect that.But if you are not using you can protect using the .htaccess file.