Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Security settings for this service require Windows Authentication

 
 
Thread Tools Display Modes
Old 06-19-2007   #1 (permalink)
Hiten
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



 
Old 06-22-2007   #2 (permalink)
ronscottlangham@yahoo.com
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








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49