Click here to Skip to main content
15,741,692 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have not stored the images into database. I have store all the images into wb_imgs folder. I want to secure my images so that no one can overwrite / delete or modify them. So, should I put this wb_imgs directory outside the root directory or inside the root directory and why?

1 solution

This might be helpful to you:

How to protect images folder[^]

hope it helps :)
Share this answer
rashidfarooq 21-Oct-11 7:25am    
thanks but my question is straight forward. Should I store image directory outside the root directory or inside??
Uday P.Singh 21-Oct-11 12:37pm    
if you can protect your images folder inside the root directory, then why do you want to put it outside?

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