Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / November 2003

Tip: Looking for answers? Try searching our database.

how to by-pass forms authentication in a subfolder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zeng - 24 Nov 2003 16:37 GMT
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 www.myapp.com/testing/check.aspx
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 - 25 Nov 2003 11:15 GMT
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

> Hello,
>
[quoted text clipped - 9 lines]
>
> Thank you very much in advance for your help...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.