Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Keep It Simple, Stupid
 
PerlMonks  

Re: perlsec question

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 11: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 06: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.