Re: Setting IPGrant on a folder from a WebMethod

From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 02/21/05


Date: Mon, 21 Feb 2005 12:29:49 -0600

My guess is that you need to be an administrator in order to change the IIS
metabase. That is normally required.

Did you consider changing the Application Pool identity to an administrator
account? That should accomplish your goal, at least for testing purposes.

However, you may not wish to solve the problem that way. Running your app
pool as administrator opens you up to some significant security risks. You
may wish to put the IIS ADSI code in a COM+ component and run that under a
separate identity with admin privileges. This would allow your main web
application process to continue running with least privileges (as NETWORK
SERVICE).

Joe K.

"David Salonius" <dsalonius@charter.net> wrote in message
news:OnizSDEGFHA.560@TK2MSFTNGP15.phx.gbl...
>
> My web service is running under NT AUTHORITY\NETWORK SERVICE. I've then
> given full control under folder security to that user. Under Advanced
> Security Settings, I've verified that NETWORK SERVICE has full control
> to all permissions. The error still persists. Is this what you're
> referring to?
>
> Thanks,
>
> David
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Parent Control Software
    ... I have heard that the new McAfee Security Suite has Parent Control. ... You can create a very STRONG and COMPLEX administrator password by ... With this account, a child can access anything you ... Probably the most important part is taking GOOD control of the Administrator ...
    (microsoft.public.security)
  • Re: File Permissions
    ... The default full control for everyone on the root folder is a security issue ... back to default ntfs permissions. ... particularly for the administrator account, ...
    (microsoft.public.win2000.security)
  • Re: SP2 Security Center Settings Disappeared
    ... I do not receive an error message; it provides no messages such as disabled ... or controlled by an administrator, ... > Note that you don't need the Security Center to adjust firewall ... > from Control Panel? ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Access denies when running application from xp pro client as user
    ... Microsoft MVP - Windows Security ... the app display file. ... point of full control. ... Administrator was the ONLY way we could get the app to run ...
    (microsoft.public.win2000.security)
  • RE: hkey_local_machine security
    ... On the Security menu, click Permissions. ... Grant the administrator full control of that key only. ...
    (microsoft.public.win2000.security)