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

  1. #1

    Default WEB.CONFIG ISSUE

    Hi ALL
    I have all my root files under Forms Type Authentication mode and i have
    another folder where in i need no permission or a direct access to that
    folder.

    So i did make some changes in WEb.Config.
    I added the following at the end of WEB.Config.
    <location path="ALL"> -- ALL is the folder name
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>

    Few days back it worked now its diverting all the pages back to login.aspx
    and as there is not login.aspx in that folder it raises error. ieok.

    But, what is the reason that the security changed.

    If am wrong kindly give me the way to make a folder in the wwwroot available
    to all while the main folder is restricted.

    Thanks

    ARvind.


    Arvind P Rangan Guest

  2. Similar Questions and Discussions

    1. Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
      I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now...
    2. Web References how to config to read URL from config?
      It's great that VS.NET makes it so effortless to add a web reference to a web service. The problem is, I haven't figured out a way to configure the...
    3. web.config vs machine.config ?
      1. I got this following error: ******************** Configuration Error Description: An error occurred during the processing of a...
    4. config file: a) what Module ? b) conditionals in config (for multiple hosts)
      Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right...
    5. [RCR] Include CONFIG::Config['rubydocdir'] in rbconfig.rb
      Hi folks, I apologise if people have read this RCR and are not interested, but this is what I consider to be an important RCR, not a merely...
  3. #2

    Default Re: WEB.CONFIG ISSUE

    Hi Arvind,

    Did you happen to add something to your <authentication> method? E.g. look
    for something similar to:

    <authentication mode="Forms" >
    <forms loginUrl="login.aspx" />
    </authentication>

    This would be responsible for redirecting your page to login.aspx. Also
    keep in mind that the web.config pages are 'layered'. If you required
    a login page somewhere on your site and have entered this in the top
    web.config, you may need to install another web.config at a lower level
    with the login directive removed.

    Good luck

    Jib

    "Arvind P Rangan" <arvind99@hotmail.com> wrote in message
    news:OajqxXh%23DHA.2524@TK2MSFTNGP11.phx.gbl...
    > Hi ALL
    > I have all my root files under Forms Type Authentication mode and i have
    > another folder where in i need no permission or a direct access to that
    > folder.
    >
    > So i did make some changes in WEb.Config.
    > I added the following at the end of WEB.Config.
    > <location path="ALL"> -- ALL is the folder name
    > <system.web>
    > <authorization>
    > <allow users="*"/>
    > </authorization>
    > </system.web>
    > </location>
    >
    > Few days back it worked now its diverting all the pages back to login.aspx
    > and as there is not login.aspx in that folder it raises error. ieok.
    >
    > But, what is the reason that the security changed.
    >
    > If am wrong kindly give me the way to make a folder in the wwwroot
    available
    > to all while the main folder is restricted.
    >
    > Thanks
    >
    > ARvind.
    >
    >

    jib 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