Re: Forms Authentication Question
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 11/26/05
- Previous message: Rob: "Forms Authentication Question"
- In reply to: Rob: "Forms Authentication Question"
- Next in thread: Rob: "Re: Forms Authentication Question"
- Reply: Rob: "Re: Forms Authentication Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 26 Nov 2005 10:58:59 -0800
Hello Rob,
add a location element for the pages that should be authenticated
like
<location path="page.aspx">
<system.web>
< authorization>
<allow roles="Role" />
<deny users="*" />
</authorization>
</system.web>
</location>
or put all page that need auth together in one directory and specifiy the
directory name in the location element.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> I would like to use Forms Authentication on my website but only
> certain pages need to be authenticated. In other word, users can
> browse many pages on the site without having to log in but when the
> access certain pages, they have to be authenticated. Can I use Forms
> Authentication in this scenario or is Forms Authentication for the
> entire site?
>
> Thanks
>
> Rob
>
> *** Sent via Developersdex http://www.developersdex.com ***
>
- Previous message: Rob: "Forms Authentication Question"
- In reply to: Rob: "Forms Authentication Question"
- Next in thread: Rob: "Re: Forms Authentication Question"
- Reply: Rob: "Re: Forms Authentication Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|