RE: How do I: Configure WebService Permissions
From: Rama.NET (RamaNET_at_discussions.microsoft.com)
Date: 08/10/04
- Next message: Rama.NET: "RE: Message Box"
- Previous message: Rama.NET: "RE: WebException"
- In reply to: Russell Mangel: "How do I: Configure WebService Permissions"
- Next in thread: Russell Mangel: "Re: How do I: Configure WebService Permissions"
- Reply: Russell Mangel: "Re: How do I: Configure WebService Permissions"
- Messages sorted by: [ date ] [ thread ]
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
>
>
>
>
>
>
>
>
>
>
>
- Next message: Rama.NET: "RE: Message Box"
- Previous message: Rama.NET: "RE: WebException"
- In reply to: Russell Mangel: "How do I: Configure WebService Permissions"
- Next in thread: Russell Mangel: "Re: How do I: Configure WebService Permissions"
- Reply: Russell Mangel: "Re: How do I: Configure WebService Permissions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|