470,635 Members | 2,243 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,635 developers. It's quick & easy.

Authentication using ASP.NET

In our application we have to authenticate users using
Forms authentication, but using the username and password
of the Windows 2000 Active Directories. That is, the user
will enter his username and password in the WebForm and
our code behind will have to authenticate the user.
Futhermore the user can be from any domain in the network.
Also, while authenticating the user, the user has to be
displayed the list of domains available on the network.
The user will select his or her domain from the list. We
are not supposed to use Win32 API for this. Is there any
Active Directory Class which does the listing of all the
domains and authentication of the user?
Nov 18 '05 #1
1 1365
> In our application we have to authenticate users using
Forms authentication, but using the username and password
of the Windows 2000 Active Directories. That is, the user
will enter his username and password in the WebForm and
our code behind will have to authenticate the user.
Futhermore the user can be from any domain in the network.
Also, while authenticating the user, the user has to be
displayed the list of domains available on the network.
The user will select his or her domain from the list. We
are not supposed to use Win32 API for this. Is there any
Active Directory Class which does the listing of all the
domains and authentication of the user?


strange you're not allowed to use Win32 API since you do want to access
Windows-only stuff like the Active Directory

try putting up a native app (can make it with .net too, or VC++6.0) instead
that talks to the Active Directory and is exposed as a (private inside the
firewall) SOAP server. You then talk to it via SOAP from your app (so you
can move your app to Linux/mono's ASP.net version maybe in the future)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <bi******@kagi.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
.................................................. .......................
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Michael Foord | last post: by
8 posts views Thread by Bob Everland | last post: by
9 posts views Thread by Tom B | last post: by
3 posts views Thread by Kris van der Mast | last post: by
reply views Thread by Anonieko Ramos | last post: by
6 posts views Thread by Manny Chohan | last post: by
5 posts views Thread by Rory Becker | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.