Re: IIS6 &ASP.Net Permissions help:-)



Filemon can be downloaded from the Microsoft website (it used to be a Sysinternals tool):
http://www.google.com.au/search?q=site%3Amicrosoft.com+Filemon
(first link is the download, some other articles on using Filemon to troubleshoot things)

Are you using Impersonation in your application? If so, then ASP.NET might be impersonating the authenticated user for file access, rather than the web app pool identity.

Cheers
Ken

--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken


"ERoss" <elliot475@xxxxxxxxxxx> wrote in message news:MPG.20e049fdc9cfb48f9896ad@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for the response !

Now, you say "it doesn't work unless Server_Name\USERS group is granted
"Full Control" on the file system level"

Just to its application path \inetpub\wwwroot\<app_name> and all
subdirecties

I will see if I can find filemon

thanks


In article <#htenEJsHHA.2376@xxxxxxxxxxxxxxxxxxxx>,
kenREMOVE@xxxxxxxxxxxxxxxxxxxx says...
ASP.NET usually runs under the user context of the web application pool. If
the web application pool is running as Network Service (the default), then
this account needs permissions to files and folders.

Now, you say "it doesn't work unless Server_Name\USERS group is granted
"Full Control" on the file system level"

Which part of the file system are you talking about? the entire disk? Or
just some small portion of it?

Have you run Filemon to see where there might be "Access Denied" errors, and
which account is being denied access?

Cheers
Ken



.



Relevant Pages

  • Re: Counting file handles on a file
    ... "On Windows NT the heart of FileMon is a file system driver that creates and ... attaches filter device objects to target file system device objects so that ... FileMon will see all IRPs and FastIO requests directed at drives. ... FileMon sees an open, create or close call, it updates an internal hash ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How can I determine Process / File Usage?
    ... Their approach to the problem is to hook into file subsystem. ... that they only obtain real-time info for file accesses performed after their ... the heart of FileMon is in the virtual device ... installs a file system filter via the VxD service, ...
    (microsoft.public.vb.winapi)
  • Re: Hard Disk Activity
    ... Or using FindFirstChangeNotification? ... FileMon is a good recommendation, ... systems where the file system was being changed, ... an application needs to explicitly broadcast a message in ...
    (microsoft.public.vb.general.discussion)
  • Re: How to monitor the file I/O access in Win32 environment
    ... First, off FileMon has never used system-call hooking, it is a file system ... Finally, depending on what the guy wants to do, he doesn't need a kernel ... > The technique used by FileMon is kernel-mode system-call hooking - not> something for the faint of heart. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Windows 2000 Update Installation failure
    ... FileMon filter that I suggested; although parts of it could actually capture ... Did you use the Windows Update site to do a download first? ... Or are you trying to install something that you already have downloaded? ...
    (microsoft.public.windowsupdate)