Login Security ASP.NET - Need help on a idea - Thanks

From: Fred Figueiredo (fredfigueiredo@hotmail.com)
Date: 08/27/02


From: "Fred Figueiredo" <fredfigueiredo@hotmail.com>
Date: Mon, 26 Aug 2002 23:22:39 +0100


Login Security ASP.NET - Need help on a idea - Thanks

I there.
I'm doing a .NET project (in C#) and I have to following question about
Security.

I have 3 ASP Web Projects (web1, web2 and web3).
1) wwwroot/web1/
2) wwwroot/web1/web2
3) wwwroot/web1/web3

Initialy I added Forms security to both web2 and web3. Having a login page
for each project.
1) wwwroot/web1/web2/Login.aspx
2) wwwroot/web1/web3/Login.aspx

But now, I would like to have only one Login page, that would alow me access
to diferent directorys, depending
on the username and password inserted.

 1) wwwroot/web1/web1/Login.aspx -> Access / Authenticate Type of User1 /
Redirect to wwwroot/web1/web2
 2) wwwroot/web1/web1/Login.aspx -> Access / Authenticate Type of User2 /
Redirect to wwwroot/web1/web3

Can someone tell me if this is possible? If yes, How can I manage to do
this.
I would really appreciate any help.

Thanks a lot,
Fred