Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 giving access 2 non authenticated users 2 one page

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-11-13 : 23:34:47
Hi guys,

the sites web.config has: authentication mode = forms

For one page, i need to give access to users that re not authenticated.

Is there a way to give access to a to a particular page to not authenticated users or there is no way?

If there is, do I have I have to create a new subfolder and does the sub folder have to have a web.config. If so how should the subfolder web.config look like?I mean does it have to overide the root directory web.config or something like that?

If that s not possible, I guess the only way d be to create a new application for the page that i want to allow non authenticated users to access

Thanks a lot. pls give me the details if you don t mind.

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2006-11-14 : 17:47:42
Read up on the location element, something like this
<configuration>
<location path="mypage.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>
Go to Top of Page

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-11-14 : 18:37:27
thanks a lot
Go to Top of Page
   

- Advertisement -