Hi
I validate the username/password and then execute the following code
System.Web.Secu rity.FormsAuthe ntication.Redir ectFromLoginPag e(
authorId, RememberCheckBo x.Checked
);
One folder I want to restrict to anyone logged in.....
<location path="Members">
<system.web>
<authorizatio n>
<deny users="?"/>
</authorization>
</system.web>
</location>
On another folder I want to restrict access only to a member which has
"IsAdministrato r" set to True in the database.
<location path="Admin">
<system.web>
<authorizatio n>
<deny users="*"/>
<allow roles="Admin"/>
</authorization>
</system.web>
</location>
Is this correct? How do I tell FormsAuthentica tion that the current user
has the Admin role?
Thanks
--
Pete
====
Read or write articles on just about anything
http://www.HowToDoThings.com
My blog
http://blogs.slcdug.org/petermorris/