Subscribe to Subscribers
Talk to Webmaster Tony John

Online Members

Pawan Awasthi
More...


Forums » .NET » ASP.NET »

Access the ASP.NET3.5 Application through Active Directory


Posted Date: 09 Dec 2009      Posted By:: Challa SudhakarReddy     Member Level: Gold    Member Rank: 1249     Points: 1   Responses: 2



Hi,

We have ASP.NET3.5 web application hosted in IIS6.0 server.

Whenever user try to access the application, we should not display the login screen instead we should check in active directory whether user in available in active directory by using user windows login credentials (internal users i.e., in side the organization) if available then display the Application Home page else display the Login screen (for external users i.e., out side the organization)to login to the application.

Kindly help me how can we do this. It's my 1st time dealing with AD.

Thanks




Responses

#451629    Author: kamna      Member Level: Gold      Member Rank: 155     Date: 09/Dec/2009   Rating: 2 out of 52 out of 5     Points: 2

write in web.config page as if u want to access always login page first

<authentication mode="Forms">
<forms loginUrl="frm_login.aspx" slidingExpiration="true" protection="All"></forms>
</authentication>


Thanks & Regards
Kamna Nagpal



 
#451721    Author: Asheej T K        Member Level: Diamond      Member Rank: 2     Date: 09/Dec/2009   Rating: 2 out of 52 out of 5     Points: 2

You can enable active directory security from IIS also.

Open IIS-?Properties of the website-->Directory Security-->Click on Edit and enable necessary authentication.


Regards,
Asheej T K
Microsoft MVP[ASP.NET/IIS]
DotNetSpider MVM

Dotnet Galaxy



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Grid View
Previous : Dynamically Adding Control to ContentPage
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.