Active Directory with ASP.NET

P

Patrick.O.Ige

Does anybody has any idea of how i can use asp.net authetication with AD
that is windows authentication?
I need an article on that..
Anybody can help
I also need a treeview Menu in asp.net populated from
the Database
thanks
 
S

Scott Allen

Hi Patrick:

You can do this by editing your web.config file.

<authentication mode= "Windows"/>
<authorization>
<allow users="companydomain\Kim"/>
<allow roles="companydomain\AdminsGroup"/>
<deny users="John"/>
<deny users="?"/>
</authorization>

See ASP.NET Authentication for more info:
http://msdn.microsoft.com/library/d...us/cpguide/html/cpconaspnetauthentication.asp

Also:

Building Secure ASP.NET Applications: Authentication, Authorization,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch03.asp

Hope this helps,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top