Background:
I have a .NET web application that processes input files and places their contents record by record into a database.
The input files are read from a folder
\inetpub\
The appname folder has the permissions:
Administrators: Full control
ASPNET: Read & Write
Owners: Full Control
All sub folders of the appname folder are set to inherit the permissions from the parent.
The problem:
If I COPY the files from their original location to the inputs folder, they inherit the permissions of the parent folder, and get the Read/Write permission for ASPNET.
However, if I MOVE the files from their original location, they keep their original permissions, and cannot be accessed by the ASPNET user and so cannot be picked up by the application. (For security purposes, the original location cannot be accessed by the ASPNET User)
Are there any settings in Windows XP to enable the permission set to be inherited, even if the file is moved rather than copied?
Thankyou in advance.
Chris.
Chris Lawton
Chris@Lawton.net
I have a .NET web application that processes input files and places their contents record by record into a database.
The input files are read from a folder
\inetpub\
The appname folder has the permissions:
Administrators: Full control
ASPNET: Read & Write
Owners: Full Control
All sub folders of the appname folder are set to inherit the permissions from the parent.
The problem:
If I COPY the files from their original location to the inputs folder, they inherit the permissions of the parent folder, and get the Read/Write permission for ASPNET.
However, if I MOVE the files from their original location, they keep their original permissions, and cannot be accessed by the ASPNET user and so cannot be picked up by the application. (For security purposes, the original location cannot be accessed by the ASPNET User)
Are there any settings in Windows XP to enable the permission set to be inherited, even if the file is moved rather than copied?
Thankyou in advance.
Chris.
Chris Lawton
Chris@Lawton.net