Re: Authentication via AD

From: VK (VK_at_discussions.microsoft.com)
Date: 05/19/05


Date: Thu, 19 May 2005 10:48:05 -0700

Thanks for the response.

Its an intranet application. All users are authenticated with the active
directory and I would like to use that in my asp.net application too. The
goal is to allow certain users with specefic priviliges from the AD to see
special pages and others dont see them. However everybody has to
authenticated via the AD. Ideally I would like to see a windows pop up, which
asks for the UserID and pw.

Thanks

"Joe Kaplan (MVP - ADSI)" wrote:

> It really depends on what your application is. You haven't explained at all
> what you are building. Is it a normal web application or something else?
> Can it use IIS/Windows for authentication or does it need to be forms
> authentication?
>
> Joe K.
>
> "VK" <VK@discussions.microsoft.com> wrote in message
> news:34E8EFE5-9C6C-4C4F-B64F-F89EB8736827@microsoft.com...
> > Thanks Joe for the reply. Can you point me to some URLs which shows how to
> > use authenticate with AD? Also what do you mean wit:
> >
> >> Another good option is to let Windows authenticate for you. Depending on
> >> your application architecture (you don't specify), this may or may not be
> >> possible.
> >
> > I am kind of new in authentication. Thanks for any suggestions.
> >
> > "Joe Kaplan (MVP - ADSI)" wrote:
> >
> >> The preferred method of authenticating against AD is to us the SSPI API
> >> with
> >> the negotiate protocol. This is easy to do in .NET 2.0 with the
> >> NegotiateStream class, but requires some significant p/invoke in .NET
> >> 1.x.
> >> There are samples online though.
> >>
> >> Another good option is to let Windows authenticate for you. Depending on
> >> your application architecture (you don't specify), this may or may not be
> >> possible.
> >>
> >> LDAP should be possible if you have AD as it supports LDAP natively.
> >> However, I'd recommend avoiding LDAP authentication unless you have to
> >> use
> >> it.
> >>
> >> Joe K.
> >>
> >> "VK" <VK@discussions.microsoft.com> wrote in message
> >> news:0525D57E-3385-44AC-B588-C44526AB808E@microsoft.com...
> >> > Hello,
> >> >
> >> > I want to authenitcate my users against the Active Directory. Do I
> >> > have
> >> > to
> >> > go through the LDAP to do that? We are not using LDAP. I have googled
> >> > and
> >> > found several examples - however they all use LDAP.
> >> >
> >> > Any suggestions?
> >> > Thanks
> >>
> >>
> >>
>
>
>



Relevant Pages

  • Re: LDAP Auth Problem - COM interop
    ... The requested authentication method is not ... Exception Details: System.Exception: Error authenticating user. ... String username, String pwd) in ... "Joe Kaplan" wrote: ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: ADAM Authentication
    ... Only using ADAM for testing a proof-of-concept; ... "Joe Kaplan" wrote: ... Note that using S.DS for authentication may cause you scalability problems ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: tcp-wrappers and sshd
    ... joe> hostname) when dialing in. ... My point was that hostbased authentication ... Host keys are used by the client for server authentication, ... SSH sets up SSH protocol connections. ...
    (comp.security.ssh)
  • Re: Disable Kerberos in a Windows Server 2003 Environment
    ... Thanks Joe! ... It is definitely possible to prevent Kerberos ... authentication to a given service by making sure the service principal name ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • RE: SPS 2003 on W2k3 Standard logon problems.
    ... Joe ... >> All users are logging into the same domain that the portals are in. ... >> Windows Integrated Authentication and Basic Authentication turned on for each ... A global security group contains all my users, ...
    (microsoft.public.sharepoint.portalserver)

Quantcast