a440guy has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a simple "hit counting" script for use against IIS log files. I turned it into a CGI script so that my boss can run it instead of me having to do it all the time.
Problem: I get 'Permission denied' when my script tries to open a log file. This is because the logfile directory is accessable only by the pseudo-user "SYSTEM". If I set 'read' permissions on that directory for IUSR_<hostname>, there is no problem. I would prefer not to give such permission to this anonymous user.
Ideally, my CGI script would run with the credentials of SYSTEM, but this is Windows! I could not find any solutions on the web. Is there a way to run my perl CGI script with SYSTEM credentials? (I know, not really a perl question.) Any other suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IIS Log Permission problem
by shonorio (Hermit) on Sep 14, 2005 at 00:51 UTC | |
|
Re: IIS Log Permission problem
by Anonymous Monk on Sep 13, 2005 at 22:26 UTC | |
|
Re: IIS Log Permission problem
by inman (Curate) on Sep 14, 2005 at 07:53 UTC |