CodeIgniter Forums
Files outside webroot directory ? or other method for protecting images from direct access - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Files outside webroot directory ? or other method for protecting images from direct access (/showthread.php?tid=5477)



Files outside webroot directory ? or other method for protecting images from direct access - El Forum - 01-23-2008

[eluser]Unknown[/eluser]
Hello All,
Is it possible to keep uploaded files above webroot directory ? I know that it possible to keep application files above, but I want to keep uploaded files (including uploaded images) too ?

If so , could you give me an example how to retrieve them from this directory ?

If not, what are the other methods of protecting images/files from direct accessing ?


Regards
bastek