web.config in subdirectory security problem...
From: Dominic Caffey (domcaf@aent.com)
Date: 02/24/03
- Next message: Oleg: "Is there a script which makes an assembly trusted on the client?"
- Previous message: Greg Bacchus: "Declarative Role-Based Security"
- Next in thread: David Banister: "Re: web.config in subdirectory security problem..."
- Reply: David Banister: "Re: web.config in subdirectory security problem..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Dominic Caffey" <domcaf@aent.com> Date: Mon, 24 Feb 2003 13:35:26 -0800
I have a web.config file defined in a sub-directory of a
website for login for some admin code for the website.
The web.config in the subdirectory is defined as follows:
<?xml version="1.0" encoding="Windows-1252" ?>
<configuration>
<system.web>
<authentication mode="Forms">
<forms name="DemoAdmin" loginUrl="login.aspx"
protection="All" timeout="10">
<credentials passwordFormat="Clear">
<user name="mickey" password="mouse" />
<user name="donald" password="duck" />
<user name="walt" password="disney" />
</credentials>
</forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</configuration>
When going to the code in the subdirectory where the above
file resides, execution never makes it to login.aspx and
sticks on an empty Default.aspx meaning no html gets
pushed to the browser other then the html, head and body
tags. Would someone tell me where I'm going wrong?
Thanks,
Dom
- Next message: Oleg: "Is there a script which makes an assembly trusted on the client?"
- Previous message: Greg Bacchus: "Declarative Role-Based Security"
- Next in thread: David Banister: "Re: web.config in subdirectory security problem..."
- Reply: David Banister: "Re: web.config in subdirectory security problem..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|