M
M
I am already using Forms Authentication to protect a directory in my ASP.NET
application. I want to protect another directory.
I added something like:
<location path="another_directory">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
The problems are:
1. When browsing to "another_directory" I get redirected to the login Web
page of the "first" directory. I want "another_directory" to have its own
login Web page.
2. The "first" directory is protected by having username and password in
Web.config. I want to "another_directory" to have username and password
stored in a database.
Thanks.
application. I want to protect another directory.
I added something like:
<location path="another_directory">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
The problems are:
1. When browsing to "another_directory" I get redirected to the login Web
page of the "first" directory. I want "another_directory" to have its own
login Web page.
2. The "first" directory is protected by having username and password in
Web.config. I want to "another_directory" to have username and password
stored in a database.
Thanks.