Ask a Question related to ASP.NET General, Design and Development.
-
kevin #1
asp.net FORMS authentication question
hi all
with forms authentication, how does that work for a site with introduction
and tour or maybe some more pages?
by using forms authentication, all pages have to be authenticated before
viewing, but in case when only the database access page needed to be
authenticated, how would forms authentication work for that? does it needed
to be broke down into two asp.net apps, one authentication mode = none the
other using forms ?
kevin Guest
-
Forms Authentication Question
Everything is working in my authentication process except for the fact that I can't retrieve the "UserData" property from the... -
Forms Authentication via SSL question
I have an ASP.NET application using forms authentication. I works without any problems. I have been trying to enable the login process to work... -
Forms authentication then redirection to a secure web with NT authentication?
Hi, I want to allow access to particular secured intranet web sites. These intranet are stored in sharepoint (2003 version) Actually I've... -
Basic Forms Authentication question
I can't get this damn thing to work at all. I have a virtual directory set up with anonymous access only, web.config contains the following but... -
Web Services and Forms Authentication Question
Hello, I'm a newbie in Web Services development. At present, we have a web site implement in ASP.NET with C#. We want to add some web service on... -
Mark Heimonen #2
Re: asp.net FORMS authentication question
Hi Keven,
You can specify that you want to allow anonymous access to certain pages on
the website without requiring the user to be authenticated. To do so, add
the following at the bottom of your web.config file (before the closing
/configuration tag)
<location path="TOURPAGE.aspx">
<system.web>
<authorization>
<allow users="*" />
<allow users="?" />
</authorization>
</system.web>
</location>
-Mark Heimonen
"kevin" <kyu@nrcan.gc.ca> wrote in message
news:OJhpykEWDHA.384@TK2MSFTNGP12.phx.gbl...needed> hi all
>
> with forms authentication, how does that work for a site with introduction
> and tour or maybe some more pages?
> by using forms authentication, all pages have to be authenticated before
> viewing, but in case when only the database access page needed to be
> authenticated, how would forms authentication work for that? does it> to be broke down into two asp.net apps, one authentication mode = none the
> other using forms ?
>
>
>
>
>
>
Mark Heimonen Guest
-
George Durzi #3
Re: asp.net FORMS authentication question
put the pages that you don't want to be protected by FormsAuth into their
own directory.
then inside that dir create a web.config file with this in it.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>
"kevin" <kyu@nrcan.gc.ca> wrote in message
news:OJhpykEWDHA.384@TK2MSFTNGP12.phx.gbl...needed> hi all
>
> with forms authentication, how does that work for a site with introduction
> and tour or maybe some more pages?
> by using forms authentication, all pages have to be authenticated before
> viewing, but in case when only the database access page needed to be
> authenticated, how would forms authentication work for that? does it> to be broke down into two asp.net apps, one authentication mode = none the
> other using forms ?
>
>
>
>
>
>
George Durzi Guest
-
neo ew #4
Re: asp.net FORMS authentication question
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
neo ew Guest



Reply With Quote

