jesuashok--,

The question is a very broad one, and from my limited experience with web programming, it's not something I have enough experience to even begin to answer.

But you have tried to answer to stumbler's question with a link to a security FAQ from w3.org.

Pardon me for saying this, but that's a little bit like answering a beginning Perl programmer's questions about the difference between lists and hashes by giving them a copy of Programming Perl, and saying "there you go, it's all in there!"

While I commend your new-found ability not to plagiarize material not your own, I think the question deserves more than a "google search" for the keywords in his post.  (What words did you "google" for?  I found that with the words "script security" it was the 9th hit).

Now, have you ever used suEXEC yourself?  I certainly haven't, so if I'm misunderstanding your suggestion, and you're an expert on suEXEC having used it before many times (and just didn't feel it necessary to go into why or how it could be of use to the OP), please feel free to correct me.  And if I'm laboring under the false impression that you are getting PAID to program in Perl as part of your job, by all means please set me straight!

But my hunch is that you googled to find the link you cited, and then searched within it for a buzzword you could throw out to sound like you had an inkling of what you were talking about.

I think you need to spend less time searching the Internet, and more time reading about basic and beginning concepts in Perl.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

In reply to Re^2: Using exec() for executing shell scripts in CGI by liverpole
in thread Using exec() for executing shell scripts in CGI by stumbler

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.