![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| Security settings for this service require Windows Authentication Hi, I am Hosting WCF service in IIS 5.1 Config is set to transport layer security. SSL is installed and configured on the virtual folder and BasicHTTP bidings are being used for connection. Authentication in web.config is set to Windows Authorization in web.config is set to Deny Users="?" and Allow Users="*" When trying to connect to the service using IE, it throws exception that "Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service. " Can some one tell me what is missing? Do I have to set anything in Web.Config? I need to achieve following using Basic HTTP binding Transport Layer security (SSL), Windows Domain Authentication, Use user's Domain identity to impersonate the user in service Please suggest the settings if any. Please note that the same functionality and config settings works when hosting in Windows Service. Thanks |
| | #2 (permalink) |
| Guest
Posts: n/a
| Re: Security settings for this service require Windows Authentication On Jun 19, 2:00 pm, Hiten <H...@discussions.microsoft.com> wrote: > Hi, > > I am Hosting WCF service in IIS 5.1 > > Config is set to transport layer security. SSL is installed and configured > on the virtual folder and BasicHTTP bidings are being used for connection. > > Authentication in web.config is set to Windows > > Authorization in web.config is set to Deny Users="?" and Allow Users="*" > > When trying to connect to the service using IE, it throws exception that > > "Security settings for this service require Windows Authentication but it is > not enabled for the IIS application that hosts this service. " > > Can some one tell me what is missing? > > Do I have to set anything in Web.Config? > > I need to achieve following using Basic HTTP binding > > Transport Layer security (SSL), Windows Domain Authentication, Use user's > Domain identity to impersonate the user in service > > Please suggest the settings if any. Please note that the same functionality > and config settings works when hosting in Windows Service. > > Thanks Do you have the Security settings set in IIS Manager? Under Directory Security, do you have Digest or Basic authentication enabled? You may also turn off Anonymous access to ensure that these are being used. But, this means that you will then have to pass the name/ password details via the client proxy ClientCredentials. Also, my understanding is that the system.web <authorization> plays no role in WCF applications. That the only role enforcement available is check the role in code using IsInRole or use the role permission Attributes on the service. I am suspecting that the <authentication> node in system.web is also the case. If still not the case, post your web.config to view Ron |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Web Service Authentication in ASP.NET (C#) | mazdotnet | .NET General | 1 | 3 Weeks Ago 07:05 AM |
| Windows Vista Security Settings? | Vanessa Tripodi | Vista security | 5 | 01-02-2008 04:56 AM |
| Wireless authentication settings? | anton | Vista networking & sharing | 3 | 09-09-2007 11:07 AM |
| Security Service and Windows Wireless Service stopped working | Kolin Tregaskes | Vista General | 3 | 06-11-2007 12:34 PM |
| security settings and many java windows | m j o | Vista security | 0 | 02-07-2007 06:31 AM |