Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I direct user to their home directory?

Status
Not open for further replies.

csteinhilber

Programmer
Aug 2, 2002
1,291
US
I have a website on a Windows 2003 server, running under IIS, that contains a secure directory (/login). Under that directory are subdirectories for users (/login/aaa, /login/bbb, /login/ccc).

The /login directory is set up with permissions to allow access to all defined users (non-anonymous access), and each subdirectory is set up with permissions to only allow access to that particular user.

Authentication and everything is working properly, but what I'd like to be able to do is provide a "login" link on the website itself that simply directs a user to /login. Once the user logs in and authenticates, they're automatically taken to their designated directory.

So, say, user "aaa" clicks the "login" link on a webpage. Since it's trying to access /login, the user is presented with the NT Authentication login box. Once the user enters a username of "aaa" and their password, they're automatically taken to the /login/aaa directory (without ever seeing all the other subdirectories in /login).

I thought that's what a user's "Home Directory" was supposed to do for me... but it doesn't appear that's correct.

Is there a way to accomplish this?

Thanks in advance!
-Carl
 
You need to use virtual directories to accomplish this task.
Since all your sub directories are under your /login users will see all the directories.
The best way is to create virtual directories and point eh physical location of those virtual directories to location which is different form your /login directory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top