Forum Moderators: coopster

Message Too Old, No Replies

Secure Folder & PHP

Secure Folder

         

cremesoda201

2:53 pm on Nov 7, 2006 (gmt 0)

10+ Year Member



Hello,

Soon I will be developing a system where users log in to access a secure portion of a web site. The site will be using PHP to authenticate them. I was wondering how I could secure a folder for each user so only they can access their files. Is there someway to use htaccess implemented with PHP to make it happen? Any help is appreciated - I'm sketchy in this area.

Thanks!

barns101

6:01 pm on Nov 7, 2006 (gmt 0)

10+ Year Member



You could do it with .htaccess alone (and then use PHP for dynamic elements of the pages once the user is authenticated).