Register new user forms authentication

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Register new user forms authentication

    Ok I admit to being new at this and having problems getting my head around IIS.

    So if you can help me I will much appreciate it. I have a login page with a hyperlink on it that directs to a page for new users to enter their details. When you click on it the the browser does not go past the login page. I understand that it should not let you past the logon page unless the username and password agree with those setup in web.config (i will use a database for storing these later as I realise its the best way to do it)

    Can you help me to get the register new user page up from the login page.

    Is this an IIS issue, do I need to add something to web.config.

    The manuals dont explain this very well to me.

    Thank

    David

    ---
    Posted using Wimdows.net NntpNews Component -

    Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
    DotNetJunkies User Guest

  2. Similar Questions and Discussions

    1. Forms authentication <-> Windows user?
      Hi, I'm new in ASP.NET and I've got a question about authentication in an intranet application: I want to authentify and authorize the user by...
    2. Forms Authentication Anonymous User
      Hi, I have implemented Forms-Based Authentication for a website I am designing which is working fine. However I want to get a list of Roles for...
    3. ASP.NET Forms Authentication Via A SQL Server Database With Windows User types?
      We have built an ASP.NET application that will run on the Intranet using SQL 2000 as our data layer. We have decided to use Form Authentication...
    4. User Session issue with ASP.NET Forms authentication & Windows 2003
      Hi, I first posted this query in just the aspnet ng but didn't get a reply so I'm posting here (probably more appropriate) Hope one of you guys...
    5. Mixing Forms Authentication with User Accounts in ASP.NET
      Put simply, I want to use a custom form where a user can enter their Windows Domain Account and password, and have that validated. i.e. I do not...
  3. #2

    Default RE: Register new user forms authentication

    Hi,

    I understand you have applied forms authentication and in the web.config you have given deny users = ? so its redirecting all unauthetnicated requests to the login page.

    you add the following attribute to the web.config to allow anonymous users to register.aspx page.

    <location path="Register.aspx"> -- or whatever name is your registration page
    <system.web>
    <authorization>
    <allow users="*" />
    </authorization>
    </system.web>
    </location>



    "DotNetJunkies User" wrote:
    > Ok I admit to being new at this and having problems getting my head around IIS.
    >
    > So if you can help me I will much appreciate it. I have a login page with a hyperlink on it that directs to a page for new users to enter their details. When you click on it the the browser does not go past the login page. I understand that it should not let you past the logon page unless the username and password agree with those setup in web.config (i will use a database for storing these later as I realise its the best way to do it)
    >
    > Can you help me to get the register new user page up from the login page.
    >
    > Is this an IIS issue, do I need to add something to web.config.
    >
    > The manuals dont explain this very well to me.
    >
    > Thank
    >
    > David
    >
    > ---
    > Posted using Wimdows.net NntpNews Component -
    >
    > Post Made from [url]http://www.DotNetJunkies.com/newsgroups[/url] Our newsgroup engine supports Post Alerts, Ratings, and Searching.
    >
    ranganh Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139