web.config in subdirectory security problem...

From: Dominic Caffey (domcaf@aent.com)
Date: 02/24/03


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



Relevant Pages

  • Re: Downloading webpage
    ... I have some VB code that uses URLDownloadToFile to grab a simple HTML ... The issue is that the website will ... So what I did was put an IE control on my form, navigate to the login ...
    (microsoft.public.vb.winapi)
  • Downloading webpage
    ... I have some VB code that uses URLDownloadToFile to grab a simple HTML ... The issue is that the website will ... So what I did was put an IE control on my form, navigate to the login ...
    (microsoft.public.vb.winapi)
  • Re: web.config in subdirectory security problem...
    ... mahine.config to allow the authentication element in subdirectories. ... > website for login for some admin code for the website. ... > pushed to the browser other then the html, ...
    (microsoft.public.dotnet.security)
  • Re: OT- building a lightwave website
    ... directly to people who use HTML, flash,dreamweaver,inDesign etc everyday. ... Im assuming that you are more of the design angle. ... In programming, it either works or it doesnt, ... figure out how to convert it into a website. ...
    (comp.graphics.apps.lightwave)
  • Re: OT- building a lightwave website
    ... website with a blog, a slideshow and a video page without trying to ... figure out how you paste code into an html page. ... for advertising banners and such....and flash video too. ... LOL Some of the Photoshop templates are great! ...
    (comp.graphics.apps.lightwave)

Quantcast