470,833 Members | 1,463 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

authentication with Active Directory

Hi,
All i can find is examples of authentication with web services...
I want my user to authentication with the doman AD. How can I do this?
Brian
Apr 7 '06 #1
3 984
Hello Brian,

If your web application in a intranet, and the web server is also in your
domain, you can set the virtual folder as windows authentication. And then,
the request to the web service will be authenticated with the doman/AD.

If If your web application on internet, you may need the user to pass
domain user account and password. (Maybe within SSL/Https for security),
and you can authticate them with following way:

http://support.microsoft.com/kb/316748

Hope this help,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 7 '06 #2
I think you misunderstood me... I am doing a window application.. NOT a web
form...
Thanks though... hope you can help that too...
Brian

"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:Lk**************@TK2MSFTNGXA01.phx.gbl...
Hello Brian,

If your web application in a intranet, and the web server is also in your
domain, you can set the virtual folder as windows authentication. And
then,
the request to the web service will be authenticated with the doman/AD.

If If your web application on internet, you may need the user to pass
domain user account and password. (Maybe within SSL/Https for security),
and you can authticate them with following way:

http://support.microsoft.com/kb/316748

Hope this help,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 7 '06 #3
Hello Brian,

Even in a windows application, you can have a user input his domain account
and password, and then pass to web service. In web service, you can
authenticate his account aganst AD just like the sample I provided. Can
this help?

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by naijacoder naijacoder | last post: by
7 posts views Thread by - Steve - | last post: by
8 posts views Thread by GaryDean | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.