Windows Basic Authentication without IIS

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am building a small 2-tier smart application (my first .NET app) that will
be used by some users in our department on a shared terminal. It is required
to authenticate their username and password against LDAP/directory services,
so we know who is really entering the information.

All the sample code I have found for authentication seems specific to
ASP/IIS. I do not have IIS available, so I can't use any of the solutions I
have found, it has to be strictly desktop. In previous applications I used
ADO and an ADs Provider to send the username/password to the LDAP server.

Any ideas?
 
Here is a simple LDAP authentications ample, I've not tried it but it might
help you.

http://www.codeguru.com/Csharp/Csharp/cs_network/directoryservices/article.php/c6021/

Also, read about the DirectorySearcher class in the system.directory
namespace.

http://msdn.microsoft.com/library/d...s/cpref/html/frlrfsystemdirectoryservices.asp

If your looking for something more comprehensive then....

The Identity Integration Feature Pack Active Directory might be useful to
you.

http://www.microsoft.com/downloads/...10-c04d-41c4-b7ea-6f56819769d5&DisplayLang=en

I expect the Novel LDAP library would also help you out.

http://www.novell.com/coolsolutions/feature/11204.html

as would the Security Application Block which I think comes with quickstart
samples for windows forms development

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/entlib.asp

also samples here
http://www.codeproject.com/csharp/arbauthentication.asp

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Back
Top