PC Review


Reply
Thread Tools Rate Thread

authentication mode windows : web vs web service application

 
 
donet programmer
Guest
Posts: n/a
 
      18th Jan 2008
I have created web service application in .net 2.0 with IIS set to
disable anonymous access and use windows integrated authentication. My
web.config is set as below

<authentication mode="Windows" />
<authorization>
<deny users="?"/>
</authorization>

When I try to access this web service from my domain account, I can
successfully call web methods. Whereas through my local account, I get
an error saying access denied for user (null).

I thought if I create a web application with same settings I will get
same behavior. But I was wrong when I use my local account I can still
access webforms and LOGON_USER server variable is set to my local
machine name\username.

I am really confused, why does this setting work for web services but
not for web applications. Any ideas would be appreciated.
Thank you.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call a Web service by using a client certificate for authentication in an ASP.NET Web application Colin Microsoft ASP .NET 1 14th Jul 2007 07:44 AM
Windows authentication mode Thor W Hammer Microsoft ADO .NET 1 6th Oct 2005 04:41 PM
Difference between Service and application/user mode? Ham Pastrami Microsoft Windows 2000 Networking 1 4th Oct 2005 03:59 AM
MSDE 2000 Release A: Windows Authentication Mode or Mixed Mode? =?Utf-8?B?U0hD?= Microsoft Access VBA Modules 3 22nd Sep 2005 10:34 PM
Terminal Service application mode in windows 2000 cluster Nan Microsoft Windows 2000 Terminal Server Clients 1 24th May 2004 10:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:44 PM.