Re: Required permission settings to allow exe to modify text files

From: Jason Brown [MSFT] (i-brjaso_at_online.microsoft.com)
Date: 03/02/05


Date: Wed, 2 Mar 2005 16:36:15 +1100

You need to make sure the NTFS permissions on the directory or file allow
the IUSR account sufficient rights on the txt file. mostly these are set via
windows explorer->properties->security. The settings in IIS security manager
aren't really relevant.

-- 
Jason Brown
Microsoft GTSC, IIS
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Ben Falcon" <Benny238@hotmail.com> wrote in message 
news:30B57D9093C1E240Benny238@hotmail.com...
> Hello:
>
> I was previously running W2000 and then upgraded to XP Professional. 
> After doing so, I can no longer fully test my cgi because it will no 
> longer update text files (stored in the same directory as the exe).  This 
> happened after the OS upgrade.
>
> My exe file:
> C:\Inetpub\wwwroot\Shopping\test.exe
>
>
> DIRECTORY PROPERTIES (for the Shopping directory):
> Execute Permissions: Scripts and Executables
> (no other properties selected)
>
>
> DIRECTORY SECURITY SETTINGS:
> Anonymous access: (checked)
> Username: IUSR_PC_MXTV7852
> Allow IIS to control password (checked)
>
>
> What do I need to do so that my exe can modify text files located in the 
> same directory?  Please note that the only reading and writing in the 
> directory should be performed by the exe.  The exe execute permissions 
> should be accessible to all anonymous users.
>
> Thank you
>
>
>
> --
>
>
> ELKNews FREE Edition - Empower your News Reader! 
> http://www.atozedsoftware.com
> 


Relevant Pages

  • Re: Browsers special handling of EXE files
    ... Explorer would then download the EXE. ... runtime tried to download all of your other assemblies, ... allowing these remote EXEs to execute and with more permissions than 1.0. ...
    (microsoft.public.dotnet.vjsharp)
  • Re: IE handling of exe files
    ... Explorer would then download the EXE. ... runtime tried to download all of your other assemblies, ... allowing these remote EXEs to execute and with more permissions than 1.0. ...
    (microsoft.public.dotnet.general)
  • Re: Limiting exe permissions
    ... If I tell my user that I have added code to my exe to make sure its does not ... The other thing is that all of the assemblies used by my application are ... > attributes to reject the permissions that you would prefer the assembly ...
    (microsoft.public.dotnet.security)
  • Re: CGI cant spawn process under IIS6
    ... You do not need to change the ACL on CMD.EXE to spawn new processes -- ... and this will launch that EXE without using CMD.EXE to execute ... that I've got to change the permissions on ...
    (microsoft.public.inetserver.iis.security)