S
Steve Winter
Hi,
We have a number of websites running on an IIS6 server all running under
their own seperate Anonymous Web account and ASP.Net is configured to
Impersonate this account for each site for file system security reasons. The
problem comes however when one client needs to write files to their folders
and we receive the following error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not find a part of the path "c:\".
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.IO.DirectoryNotFoundException: Could not find a
part of the path "c:\".
I can get around this error by adding read permissions for all folders from
the drive root to the website directory ie. c:\ and c:\websites and
c:\website1 but this means that the client is now able to read the complete
file structure to their website which and other sites! Does anyone know of a
way of resolving this security issue?
Thanks - Steven
We have a number of websites running on an IIS6 server all running under
their own seperate Anonymous Web account and ASP.Net is configured to
Impersonate this account for each site for file system security reasons. The
problem comes however when one client needs to write files to their folders
and we receive the following error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not find a part of the path "c:\".
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.IO.DirectoryNotFoundException: Could not find a
part of the path "c:\".
I can get around this error by adding read permissions for all folders from
the drive root to the website directory ie. c:\ and c:\websites and
c:\website1 but this means that the client is now able to read the complete
file structure to their website which and other sites! Does anyone know of a
way of resolving this security issue?
Thanks - Steven