Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi,

i have a web application using PHP.I need to provide more security for images stored in server..i have cpanel linux server..is any option to secure using compain with Linux file permittion and php encryption..


Client will not have access to hack and access the image gallery folder.

How i provide secure the individual images
only login user can view.. authorized access will not access to the file.
Posted

It makes no sense at all. A client won't have any access to your image folder anyway, unless you allow automatic directory listing, which is usually not done.

As to the images themselves, how would you like protect them? If you ever show one to the user, it is already on the client computer; and the user can do with it anything. It's already too later to "protect" anything.

—SA
 
Share this answer
 
Check this out, it may help to answer your question (in the title): encrypting-uploaded-files-in-php/[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 9-Aug-14 2:30am    
Why?
(Please see my answer.)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900