how to by-pass forms authentication in a subfolder

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

  1. #1

    Default how to by-pass forms authentication in a subfolder

    Hello,

    I have an application with forms authentication setting specified in the
    web.config of the app root; so all users must login before they can access
    any page within the app. Is there a way to have a subfolder with a page that
    within the app that doesn't require user to login ?

    For example, I would like to have this page [url]www.myapp.com/testing/check.aspx[/url]
    within "testing" folder to open to public w/o request users to login, if it
    has to be the whole folder "testing" must be open to public, that would be
    fine - but just that folder.

    Thank you very much in advance for your help...



    Zeng Guest

  2. Similar Questions and Discussions

    1. Forms Authentication in a subfolder
      Our web site is mostly classic ASP. I recently created a small ASP.NET application that will reside in a subfolder a few levels deep. I want to...
    2. Can I pass ASP Basic Auth Credentials to an APS.NET Forms Authentication site?
      I am converting an ASP Website running Windows NT 4.0 to ASP.NET running Windows 2000 on a different computer across the Internet. During this...
    3. Forms authentication in a subfolder problem, please help
      Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain...
    4. Authentication ticket, cookieless, forms authentication?
      Hi. I want to use Forms Authentication, cookieless. The issue is setting the Authentication Ticket without using cookies (!) That is, the...
    5. Forms authentication for subfolder yields 404
      Thanks for all the help! I solved the problem. "joe" <contact_by_Newsgroup_only.please> wrote in message...
  3. #2

    Default Re: how to by-pass forms authentication in a subfolder

    Use the <location> element in the web.config to specify something like :-
    <location path="/testing/check.aspx">
    <system.web>
    <authentication mode="None" />
    </system.web>
    </location>

    --
    - Paul Glavich


    "Zeng" <zzy@nonospam.com> wrote in message
    news:OBeyZmqsDHA.2508@TK2MSFTNGP12.phx.gbl...
    > Hello,
    >
    > I have an application with forms authentication setting specified in the
    > web.config of the app root; so all users must login before they can access
    > any page within the app. Is there a way to have a subfolder with a page
    that
    > within the app that doesn't require user to login ?
    >
    > For example, I would like to have this page
    [url]www.myapp.com/testing/check.aspx[/url]
    > within "testing" folder to open to public w/o request users to login, if
    it
    > has to be the whole folder "testing" must be open to public, that would be
    > fine - but just that folder.
    >
    > Thank you very much in advance for your help...
    >
    >
    >

    Paul Glavich 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