I have a situation that has me befuddled. I have a website that is password protected. Users must log in with their username and password. I use session variables to track them and they are allowed access to various parts of the website depending on their permissions.
Now, I want to setup a section of the website that gives each of them space for temporarily uploading files. The files can be anything, a .doc, a .pdf, .mpg, etc. I want access to the folder that their files are kept in password protected in the same way, i.e. when they log in on the main page, they can browse to it or type in the url and get there. Anyone else is redirected.
Now, htaccess would work perfect except for the fact that I would need to maintain two sets of passwords and they would need to enter their password in twice.
Any ideas?