Results 1 to 2 of 2

Thread: Pages that don't need authentication

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 1999
    Location
    Warner Robins, GA
    Posts
    37

    Pages that don't need authentication

    Hey guys/gals, I have some ASP.Net pages which I do NOT need the authentication run. Basically, I have a forgot password link on the login page that sends the user to a page where they can enter their email address. The problem is that when I click the link, the authentication automatically reroutes me back to the login page (because I of course haven't logged in). So is there a way to designate that the "Supply your email address" page does not require an authenticated user to view?? It seems that the web.config file has locked down the entire site. Thanks in advance.

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Pages that don't need authentication

    You need to allow access for individual locations.
    Code:
    <system.web>
            <authentication mode="Forms">
                <forms name="F4D"
                    loginUrl="/html/login.aspx"
                    protection="All"
                    timeout="30"
                    requireSSL="false">
                </forms>
            </authentication>
            <authorization>
                <deny users="?" />
            </authorization>
    </system.web>
        <location path="html/register.aspx">
            <system.web>
                <authorization>
                    <allow roles="*" />
                </authorization>
            </system.web>
        </location>
    DJ

    If I have been helpful please rate my post. If I haven't tell me!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width