RE: HttpListener windows authentication fails for domain account
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Tue, 07 Feb 2006 02:31:13 GMT
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}{\f1\fmodern\fprq6\fcharset134 \'cb\'ce\'cc\'e5;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi David,
\par
\par Thanks for your response.
\par
\par After some discussion with our dev guys, we've got the point that cause the problem behavior in our scenario. As I mentioned in the previous message, for IntegratedWindowsAuthentication or Negociate mode, the client and server will choose the most secure authentiation protocol, and for 2000 or later version of windows, Kerberos will be used, however, performing kerberos authentication require the server application(in our case is the HttpListener's hosting application) be able to gain machine credential. However, since our own console or winform application always run under our own logon user, it can not do so. Therefore if you want to use HttpListener and configured as IntegratedWindows or Negociate, we need to make the host application running under Network Service account (or Local System is also ok), and generally this is only available if our application is a service application (which is configured in service controller that can be specified to use Network Service or Local System account).
\par
\par In addition, if we use NTLM authentication protocol, there is not such requirement.
\par
\par Regards,
\par
\par Steven Cheng
\par Microsoft Online Support
\par
\par Get Secure! www.microsoft.com/security
\par (This posting is provided "AS IS", with no warranties, and confers no rights.)
\par
\par
\par believe you\f1\rquote re running your app under your own account. With Negotiate or Integrated, your client will attempt Kerberos auth and this will fail to gain machine credentials unless you run your app as NetworkService.
\par \f0
\par }
- References:
- RE: HttpListener windows authentication fails for domain account
- From: Steven Cheng[MSFT]
- RE: HttpListener windows authentication fails for domain account
- Prev by Date: Re: Object variable not net
- Next by Date: Re: 404 error accessing my webservice PLEASE HELP
- Previous by thread: RE: HttpListener windows authentication fails for domain account
- Next by thread: RE: HttpListener windows authentication fails for domain account
- Index(es):
Relevant Pages
|