authentication and authorization in subfolders

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

  1. #1

    Default authentication and authorization in subfolders

    Hello,
    I went through several posts and found out that it is only possible to
    have the authentication tag only at an app level but the authorization
    tags can be present at the subfolder level after specifying the
    location tag in the web.config file in the subfolder.

    My question is:
    I want to have a forms authentication on the app level and allow only
    about 5 windows users at the subfolder level. Is is possible to do
    this using only the authorization tag? What kind of authentication
    should I use at the app level?

    I would appreciate any help.

    Thanks,
    dotosu
    dotosu Guest

  2. Similar Questions and Discussions

    1. windows pass through authentication\authorization....
      I have a requirement for a company intranet where they want to use a single sign-on with their windows 2003 domain (AD) so I was thinking of using...
    2. Secure authentication and authorization
      Hello, I am new to asp.net and try to lean as much as can. I read all about from based authentication and cookie based authorization. In real...
    3. Authorization, Authentication in Web.config
      Hi I am trying to ensure that users can only enter my Web service on a specific Login web page. I've amended Web.config so that authorization...
    4. Forms Authentication w/SubFolders
      I'm trying to create a structure I can share authentication from a root application with many subordinate applications (subfolders). The...
    5. Really confused about authorization/authentication methods in ASP.Net
      I have been reading and reading the Microsoft best practices, articles on and on but still I can't figure out which method to chose to get started....
  3. #2

    Default Re: authentication and authorization in subfolders

    See this article:
    [url]http://www.dotnetbips.com/displayarticle.aspx?id=201[/url]

    about mixing Forms Authentication and Windows Authentication. Perhaps you
    could run the system with Forms Auth-based, but check the Windows Identity
    for those pages where you'd need to check those 5 Windows Identities. I
    believe <authorization> won't help with that one, though (unless you have
    some mapping between forms auth and Windows auth, say if user exists as
    Windows user you could set session variable etc to indicate that user is
    allowed for WinAuth pages or something similar)

    --
    Teemu Keiski
    MCP, Designer/Developer
    Mansoft tietotekniikka Oy
    [url]http://www.mansoft.fi[/url]

    AspInsiders Member, [url]www.aspinsiders.com[/url]
    ASP.NET Forums Moderator, [url]www.asp.net[/url]
    AspAlliance Columnist, [url]www.aspalliance.com[/url]


    "dotosu" <danbrown09@hotmail.com> wrote in message
    news:86e97fe5.0307161537.37ccdf80@posting.google.c om...
    > Hello,
    > I went through several posts and found out that it is only possible to
    > have the authentication tag only at an app level but the authorization
    > tags can be present at the subfolder level after specifying the
    > location tag in the web.config file in the subfolder.
    >
    > My question is:
    > I want to have a forms authentication on the app level and allow only
    > about 5 windows users at the subfolder level. Is is possible to do
    > this using only the authorization tag? What kind of authentication
    > should I use at the app level?
    >
    > I would appreciate any help.
    >
    > Thanks,
    > dotosu

    Teemu Keiski 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