Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

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

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
PillalamarriVenkateswaraRao
Asked:
PillalamarriVenkateswaraRao
  • 4
3 Solutions
 
Tapan PattanaikSenior EngineerCommented:
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
 
jinalCommented:
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
 
PillalamarriVenkateswaraRaoAuthor Commented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
PillalamarriVenkateswaraRaoAuthor Commented:
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
 
PillalamarriVenkateswaraRaoAuthor Commented:
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
 
PillalamarriVenkateswaraRaoAuthor Commented:
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now