What do you not want to do in programming Perl CGI scripts form a security point.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: What do you not want to do in programming Perl CGI scripts form a security point.

  1. #1

    Question What do you not want to do in programming Perl CGI scripts form a security point.

    What do you not want to do when programming in Perl CGI from a security view?

  2. #2
    Banned
    Join Date
    Jul 2005
    Posts
    511
    Well, programming in Perl... That's what I don't want to do. Horrible language.

  3. #3
    Banned
    Join Date
    Jun 2003
    Posts
    1,302
    Katja do me a favor and slap yourself for that last statement...

    What do you not want to do when using perl and cgi??? That is a book full of stuff....

    Hmm... go to www.perlmonks.org There is your new home... Try to find an e copy of Cgi programming in perl... It should help also.

  4. #4
    AO's Mr Grumpy
    Join Date
    Apr 2003
    Posts
    903
    Originally posted here by Katja
    Horrible language.
    Chinese, Japanese, French (all others)

    German is good

    Italian, love the hand waving

    Engish is OK
    Computer says no
    (Carol Beer)

  5. #5
    Senior Member gore's Avatar
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    7,177
    Originally posted here by jm459
    Engish is OK
    Yea, maybe one day you'll learn it?

  6. #6
    AO's Mr Grumpy
    Join Date
    Apr 2003
    Posts
    903
    Originally posted here by gore
    Yea, maybe one day you'll learn it?
    May your tongue rot off the day after tomorrow

    It has been spoken among the elders, that you are the wise on

    To that I say: bulls**t

    come back to me the tribe await, we are ready, and hungry ( big mac, large fries,and coke please)
    Computer says no
    (Carol Beer)

  7. #7
    Banned
    Join Date
    Jul 2005
    Posts
    511
    Yeah, I know. I should slap myself for that remark but just couldn't resist it. There's not a good answer to this question anyways since there are so many things you shouldn't do, if you care about security.

    Things that you shouldn't do are in general things you shouldn't do when trying to build anything secure with whatever language you prefer. For example, you should not store passwords in clear text on your server. Someone might read them. And if you're sending over secure data from client to server, please use a secure (https://) connection. Which means you need a digital signature for your server.

    Perl is an interesting language if you think obfuscation is a good way to hide your code. Someone with no knowledge about Perl will have several problems trying to understand what it does. (Well, they will have to google a bit.) It is also a very popular language and many people even think that Perl = CGI. But CGI itself is language-independant and you can even use MS-DOS batch files to write CGI applications, if you set up your server to execute them, instead of serving them to the client.

    A big security mistake could therefore be to not set up your server to execute the scripts. Because then any visitor who visits your site will just see the perl code instead of seeing what you have written it for...

    (Better answer now, or do I have to slap myself again?)

  8. #8
    Senior Member gore's Avatar
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    7,177
    Dad that's your ass next time.

  9. #9
    AO's Mr Grumpy
    Join Date
    Apr 2003
    Posts
    903
    Originally posted here by gore
    Dad that's your ass next time.
    My son , my son please forgive me for this treachery, do not put me to the stake( ok with lots of onions and mushrooms)
    Computer says no
    (Carol Beer)

  10. #10
    Ninja Code Monkey
    Join Date
    Nov 2001
    Location
    Washington State
    Posts
    1,027
    Erm, yeah ok.

    Katja - Please do the world a favor and go do some more reading before you apply your fingers to the keyboard again. It hurts mah brain to read your answers at times.

    For the basic web app stuff take a look through http://www.owasp.org/index.jsp

    For perl + cgi + security type info please look at everyone's favorite resource.... Google! http://www.google.com/search?hl=en&q=perl+cgi+security

    There should be enough information there to get you started.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •