Re: Forms Authentication Question

From: Z (zarehdAThotmailDOTcom)
Date: 12/21/03

  • Next message: Rene R?hle: "Free Buffer Overflow Protection Software for Windows 2000/XP/2003 Systems"
    Date: Sun, 21 Dec 2003 03:01:27 -0500
    
    

    I believe the problem is that your login page is in a folder that is not
    accessible by anonymous users. Put the login.aspx page in a public
    <authorization ... allow user="*"> folder and protected pages in a separate
    folder (that doesn't allow anonymous users. ) Give it shot. It works
    here!!! Also, keep in mind that web.config settings flow down the directory
    structure until another web.config is found that overrides its settings.

    HTH.

    "Greg" <ggb_business@yahoo.com> wrote in message
    news:1450901c3c339$4b6861b0$a601280a@phx.gbl...
    > I would like to secure an ASP.NET application with Forms
    > Authentication. Within the web.config file of the
    > application, I have the following:
    >
    > <authentication mode="Forms">
    > <forms
    > loginUrl="http://localhost/authenticate/login.aspx"
    > path="/" />
    > </authentication>
    >
    > <authorization>
    > <deny users="?" />
    > </authorization>
    >
    > The IIS Security is set to Anonymous Access. When I
    > attempt to access a page in my web application, I am
    > redirected to the login page specified in the URL above.
    > When I enter the username and password, and click login,
    > I am redirected again to the same login page. I cannot
    > get past the login page. What am I doing wrong?


  • Next message: Rene R?hle: "Free Buffer Overflow Protection Software for Windows 2000/XP/2003 Systems"

    Relevant Pages

    • Re: Forms Authentication for particular folder
      ... Configure forms auth for that location only ... I'm working on a webapplication, most part is for anonymous access, but ... All the files after login are in one particual ... : folder: "/login". ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • dynamically allowing anonymous users to web pages???
      ... My problem is that each site has a login page and a register page. ... When an anonymous users try to access a page, ... Authenticaticate event) but still using Forms authentication. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Force SSL for authentication
      ... I have an external WSS site that is open for anonymous users. ... however requires login. ... Is there any way to automaticly redirect to SSL when authentication is ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: connecting to sql from ASP
      ... misread your previous post - yes, the previously anonymous users will be ... prompted with a windows login dialog box. ...
      (microsoft.public.sqlserver.connect)
    • Authentication
      ... I have a login .aspx page that I like to forward my users to. ... because I need anonymous users to use it without any authentication. ...
      (microsoft.public.dotnet.framework.aspnet)