Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AD Authentication to my web application from ASP.Net 2.0 Login Control

Posted on 2009-06-27
6
Medium Priority
?
342 Views
Last Modified: 2012-05-07
Dear All,

  I'm designing a page in Visual Developer 2005 Express Edition. In this one we are placing one Login Control. Through this login control I need to connect AD and depending on the authentication I need to develop some more logic. Please suggest me which way I need to proceed.

Thanks,
Rao.
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 300 total points
ID: 24727386
hi PillalamarriVenkates&,

                             Check these links.

How To: Use Forms Authentication with Active Directory in ASP.NET 2.0:

http://msdn.microsoft.com/en-us/library/ms998360.aspx

How To: Use Forms Authentication with SQL Server in ASP.NET 2.0:

http://msdn.microsoft.com/en-us/library/ms998317.aspx

Walkthrough: Creating a Web Site with Membership and User Login:

http://msdn.microsoft.com/en-us/library/879kf95c.aspx

----------------------

ASP.NET 2.0's Membership, Roles, and Profile :

http://www.4guysfromrolla.com/articles/060706-1.aspx

User registration and authentication for an ASP.NET 2.0 webs:

http://www.beansoftware.com/ASP.NET-Tutorials/Authorization-Authentication-Registration.aspx



0
 
LVL 15

Assisted Solution

by:jinal
jinal earned 200 total points
ID: 24727594
Hello ,
By default SqlMemberShipProvider and SqlRoleProvider used.

In order to use LDAP use

http://sourceforge.net/projects/dotnetldap

or any other class for LDAPmembership provider.


0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24743147
Hai jinal,
Any download or code is there in that URL ?
Anyway Guys,
I used the below URL to connect AD from my normal web application. But I don't get any luck.
http://it.toolbox.com/blogs/coding-dotnet/using-active-directory-to-authenticate-7966
Please check it once.
Thanks.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24782749
Hello guys,
The below blog had given Basic idea on how to do Windows Authentication and how to get the username after logging is completed.
Thanks to scott.
http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx
-------------------------------------------
I'm moving to one more step that, At present I had given Without any Sign In Button.
What I want to do is, I want to implement a SharePoint in Built Sign In Control In my web application. How Can I do this One ?
In Detailed,
I want to place a Sing -In Button in my web page, So that a person click that sign in button then he need to authenticate with Windows.  And I need an option that Sign with another User.
Please provide me the guidelines on this one.
Thanks.
0
 
LVL 13

Accepted Solution

by:
PillalamarriVenkateswaraRao earned 0 total points
ID: 24821589
After my long research I concluded that We can't design Sing In/Sing Out/ Sign In as different User Functionality in our normal web applications.
And I'm very thankful to you guys for guidelines and URLs.
Thanks.
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24821607
After my long research I concluded that We can't design Sing In/Sing Out/ Sign In as different User Functionality in our normal web applications with Windows Authentication.
And I'm very thankful to you guys for guidelines and URLs.

Thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question