Ok, I have been researching this for a while, so I am not even sure if this is possible...
Imagine my folder hierarchy as this:
Data/
.......User1/
.......User2/
now, is it possible to have a link send a user to the Data folder, which is protected by .htaccess, and have it, depending on the username and password given, redirect to one of the other sub-directories?
Also, if there is an index.html page in the directory, will it load that instead of showing the file directory?
I just want one login form that sends users to each of their own specific data folders. Is .htaccess the right method to achieve this?