List Info

Thread: C-Sharp (C#) Group: How to access web.config deny and allow users tag values?




C-Sharp (C#) Group: How to access web.config deny and allow users tag values?
user name
2006-06-06 19:27:09
Below is the code of web.config file:

<configuration>
  <system.web>
    <authentication mode="Forms" />
    <authorization>
     <allow users="Admin"/>
      <deny users="Jack,Mary" />
     <deny users="?">
    </authorization>
  </system.web>
</configuration>

I wanna access the deny and allow tag values and
authenticate the
users.

Pl. let me the piece of code to work over here.

Thanks for ne kind of pointers too (though I did google it
myself also)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---

C-Sharp (C#) Group: Re: How to access web.config deny and allow users tag values?
user name
2006-06-16 08:06:06

http://www.developer.com/net/asp/article.php/3364361

you can use this article if your web site has a limited
number of users.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )