Authentication security help needed

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

  1. #1

    Default Authentication security help needed

    I am new to asp.net and c#.
    Only some web pages of my application need users to be logged in.
    How do I need to set the web.config to restrict only some forms?
    Celine Guest

  2. Similar Questions and Discussions

    1. Security and authentication
      The bottom line is I don't know anything about either of these two areas. I've always been a client side interactive developer and designer, handing...
    2. ASP.NET Security/Authentication question
      I am a newbie on ASP.NET. I am creating an asp.net application (with C#) which will have a number of screens. The backend database for this app is...
    3. WS-Security vs. IIS authentication
      Hi Sirs. When using WS-Security instead of IIS authentication I see a potential problem letting ALL people access my webService. ie. if I have a...
    4. Forms Security Authentication.
      Hi I have done all the plumbing for a Forms Authentication system. My user logs in, I chek password with ADO.NET to a database with 2 fields. ...
    5. help needed with security settings
      yes I tried what you said, that doesnt work either, I verified that asp.dll is in the c:\windows\system32 \inetsrv directory, its all installed...
  3. #2

    Default Re: Authentication security help needed

    Celine,

    The simple way to do what you're asking is to create separate folders for
    the forms that (do/don't) require authentication. Use an appropriate
    web.config for each.

    Regards,
    Wes Henderson

    In order to help everyone, please direct all replies to this newsgroup.
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "Celine" <sqlprob@yahoo.fr> wrote in message
    news:f34b6b7.0408211336.4bd72368@posting.google.co m...
    > I am new to asp.net and c#.
    > Only some web pages of my application need users to be logged in.
    > How do I need to set the web.config to restrict only some forms?

    Wes Henderson Guest

  4. #3

    Default Re: Authentication security help needed

    Use

    <location path="SomeDir or page">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>

    in your web.config

    --
    - Paul Glavich
    Microsoft MVP - ASP.NET


    "Celine" <sqlprob@yahoo.fr> wrote in message
    news:f34b6b7.0408211336.4bd72368@posting.google.co m...
    > I am new to asp.net and c#.
    > Only some web pages of my application need users to be logged in.
    > How do I need to set the web.config to restrict only some forms?

    Paul Glavich [MVP - ASP.NET] 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