RE: How do I: Configure WebService Permissions

From: Rama.NET (RamaNET_at_discussions.microsoft.com)
Date: 08/10/04


Date: Tue, 10 Aug 2004 07:09:03 -0700

Hi Russell
Normally I would uncheck anonymous access for Exclusive Windows only
authentication.
HTH

"Russell Mangel" wrote:

> Hi,
>
> How can I set permissions, so my webservice will run, without entering my
> name and password in the Web.Config file?
>
> I have created a WebService, and then added a Web reference to a Windows
> Form program.
> The webservice is an Administrators Utility, and needs to delete files on
> various drives/directories, and do file maintenance.
> This will require big access permissions.
> I would like to use the credentials from the logged on user, (Windows
> Account).
>
> I can get my webservice to work if I do the following:
>
> In IIS, Directory Security tab:
> Anonymouse access = checked
> Allow IIS to control password = checked
> Integrated Windows authentication = checked
> All others unChecked.
>
> Web.Config file:
> <authentication mode="Windows" />
> <identity impersonate="true" userName ="myDomain\MyName" password =
> "MyPassword"/>
>
> I am using .Net Framework 1.1
> C#
> Windows XP sp1
>
> Thanks
> Russell Mangel
> Las Vegas, NV
>
>
>
>
>
>
>
>
>
>
>



Relevant Pages

  • Re: anonymous access + impersonation
    ... You have to enable Windows integrated auth and disable anonymous access in IIS ... - configure the webservice to run as anonymous access, ... but then Impersonate() doesnt work. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Urgent --- Please help - How to deploy WS in 2003 server????
    ... While deploying a Webservice in Windows 2003, ... Application Pool: ... If any other user is selected for providing the credentials, then, the user ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Windows Service DefaultCredentials are empty?
    ... a request is made to the XML Web service method ... This morning we install the new Windows Service to QA (I was trying to hit ... calling webservice through proxy in windows service ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How to use licensing in my .NET Application
    ... Each installation of Windows does have an unique ID that you might wish to ... don't care much about tying the copies to any specific computer, ... if it is authorized to run via a webservice each time it starts. ...
    (microsoft.public.dotnet.general)
  • Re: Unable to access webservice on a m/c from client app on other
    ... In your case authentication will be Windows, and in the authorization section you restrict it either a windows group or to specific users. ... Saravana Kumar [MVP - BizTalk Server] ... coming to the issue so how do i restrict accessing webservice for particular ... The user account you configured in the application pool will be used to run ...
    (microsoft.public.biztalk.server)