Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by tye (Sage)
on Feb 09, 2001 at 22:48 UTC ( #57438=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > Access network resources from CGI script on NT web server - Answer contributed by tye

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 Answer: Access network resources from CGI script on NT web server
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-09-27 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (142 votes). Check out past polls.

    Notices?