Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Evaluating web cgi scripts

by Anonymous Monk
on Feb 10, 2006 at 20:26 UTC ( [id://529452]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there a good resource to use as a basis for evaluating web site code (written in Perl for CGI) for someone who is technically skilled, but does not spend most of his/her time authoring (or reading) Perl code? Basically, the complete list of best practises (eg. input sanitation, standard modules, etc...) Even better would be a tool to scan against server script. Much appreciated... thx

Replies are listed 'Best First'.
Re: Evaluating web cgi scripts
by vladb (Vicar) on Feb 10, 2006 at 20:37 UTC
Re: Evaluating web cgi scripts
by jonadab (Parson) on Feb 10, 2006 at 21:40 UTC

    Rule number one is, if you don't know whether taint checking will break anything, turn on taint checking. If anything breaks, go over everything for security issues. This is more a web/cgi thing than a Perl thing, but it's a big thing. Taint checking is just a tool Perl provides to help you know if you have a problem. It's not perfect, but it helps a lot.


    Sanity? Oh, yeah, I've got all kinds of sanity. In fact, I've developed whole new kinds of sanity. Why, I've got so much sanity it's driving me crazy.
Re: Evaluating web cgi scripts
by misterb101 (Sexton) on Feb 10, 2006 at 20:38 UTC
    Well I don't know about a tool for scanning source code against. But if you want to have a comprehendable list of common problems and solutions I would start with something like the 'Perl Cookbook' From O'Reilly
    --
    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-26 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found