Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: perlsec question

by strat (Canon)
on Dec 14, 2001 at 15:38 UTC ( [id://131935]=note: print w/replies, xml ) Need Help??


in reply to perlsec question

And by killing %ENV, you also kill your cgi-Parameters, and so communication between cgi-Scripts is nearly impossible.

Best regards,
perl -e "print a|r,p|d=>b|p=>chr 3**2 .7=>t and t"

Replies are listed 'Best First'.
Re: Re: perlsec question
by helgi (Hermit) on Dec 14, 2001 at 16:11 UTC
    Nah. Get your CGI parameters first, then kill %ENV before doing anything.

    You can always explicitly set any ENV variables you need anyway (and should) and you should always specify the full path to any executables you use.

    Regards, Helgi Briem

Re (tilly) 2: perlsec question
by tilly (Archbishop) on Dec 15, 2001 at 11:17 UTC
    If you have CGI scripts trying to execute other CGI scripts, then you are doing something fundamentally wrong already.

    Not to mention that CGI scripts which assume that all CGI communication will be in %ENV loses you the ability to pass large amounts of data to the script. (Which requires the POST method to do.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found