Ask a Question related to ASP.NET Security, Design and Development.
-
Ken Varn #1
Need help. Having trouble with security on my web service.
I am getting an access denied 403 error when I try to access my web service.
My IIS setting is set to use only Windows Authentication.
The client is calling the web service from a Windows Forms UserControl that
is embedded into a web page using the <object> tag. When I call up the form
in the browser, it brings up the Windows logon screen as expected. When I
complete the logon, the Windows Forms UserControl displays and everything
works fine. When I try to call my web service, I get an Access Denied
exception 403.
I read up on passing credentials to the web service proxy from the client
and am passing in DefaultCredentials for the Proxy Credentials attribute,
but I am still getting this error.
I also set my web.config file to use:
<authentication mode="Windows" />
and
<identity impersonate="true"/>
If I set my IIS authentication to use anonymous, then the web service call
works fine.
What else am I missing here? Why is the windows authentication mode in IIS
causing the web service to not work?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
Ken Varn Guest
-
Web service security
Hello I am new to web services and I have a number of questions. I have read the WSE documentation and various other articles, but I am not sure... -
Web Service Trouble
Hi I am invoking a webservice using CFINVOKE, I have set the return variable to "testvar". But when I use cfdump to display it, it only displays... -
Web Service Security?
I have created a Windows app in C# which makes a call to a dll created in C# and to a Web Service, also created in C#. I have put the exe along... -
Trouble setting security for new thread in web app.
Hello, I have a web app that is being used to restore sql databases. Iam using a new thread to do the sql restores so I can keep theweb page from... -
Ken Varn #2
Re: Need help. Having trouble with security on my web service.
Never mind. I found the problem. The web service directory did not have
Application installed in IIS. I accidentally removed it when I changed the
base virtual directory. OOPS!
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
"Ken Varn" <nospam> wrote in message
news:OQ05D5SZEHA.1508@TK2MSFTNGP09.phx.gbl...service.> I am getting an access denied 403 error when I try to access my webthat> My IIS setting is set to use only Windows Authentication.
>
> The client is calling the web service from a Windows Forms UserControlform> is embedded into a web page using the <object> tag. When I call up theIIS> in the browser, it brings up the Windows logon screen as expected. When I
> complete the logon, the Windows Forms UserControl displays and everything
> works fine. When I try to call my web service, I get an Access Denied
> exception 403.
>
> I read up on passing credentials to the web service proxy from the client
> and am passing in DefaultCredentials for the Proxy Credentials attribute,
> but I am still getting this error.
>
> I also set my web.config file to use:
>
> <authentication mode="Windows" />
>
> and
>
> <identity impersonate="true"/>
>
>
>
> If I set my IIS authentication to use anonymous, then the web service call
> works fine.
>
> What else am I missing here? Why is the windows authentication mode in> causing the web service to not work?
>
>
> --
> -----------------------------------
> Ken Varn
> Senior Software Engineer
> Diebold Inc.
>
> EmailID = varnk
> Domain = Diebold.com
> -----------------------------------
>
>
Ken Varn Guest



Reply With Quote

