Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Access network resources from CGI script on NT web server

by tye (Sage)
on Feb 09, 2001 at 22:48 UTC ( [id://57438]=note: print w/replies, xml ) Need Help??


in reply to Access network resources from CGI script on NT web server

The default WinNT CGI security environment has no access to network resources at all.

Even if you change your CGI environment to run as a specific user, the CGI scripts will be run as that user except with no access to network resources.

I think you can get past this by using LoginAsUser() and RunProcessAsUser() (probably from Win32::AdminMisc from http://www.roth.net/) but that involves storing the password "in the clear" somewhere where the CGI script can get at it and I consider that just one small step from publishing the password on the internet (ie., a security risk).

  • Comment on Re: Access network resources from CGI script on NT web server

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://57438]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found