Re: Secure Form Script?

From: Stephen Samuel (samuel_at_bcgreen.com)
Date: 05/14/04

  • Next message: Bryce Porter: "RE: Secure Form Script?"
    Date: Fri, 14 May 2004 13:54:14 -0700
    To: Bryce Porter <bporter@heart.net>
    
    

    In this case, I'm presuming that the destination address is fixed.
    The only input data on the header is the subject line, and that's pretty easy
    to sanitize.

    For the most part I'd agree that using something like Net::SMTP is
    a good ida, but what do you see as the issues with calling sendmail
    from a script?

    Bryce Porter wrote:
    > Or you can write your own script in Perl (or your language of choice)
    > that accepts a single To: parameter from an html form and runs the input
    > through a regular expression to "cleanse" the data. Then, perform the
    > actual sending using something like Net::SMTP, et. al. Never interface
    > directly with the sendmail binary, and never use a script that does. Let
    > me know if you need some help.

    -- 
    Stephen Samuel +1(604)876-0426                samuel@bcgreen.com
    		   http://www.bcgreen.com/~samuel/
        Powerful committed communication. Transformation touching
          the jewel within each person and bringing it to light.
    

  • Next message: Bryce Porter: "RE: Secure Form Script?"

    Relevant Pages

    • RE: Secure Form Script?
      ... When calling a binary directly, you run a lot of risks, especially ... Subject: Secure Form Script? ... The only input data on the header is the subject line, ... but what do you see as the issues with calling sendmail ...
      (Focus-Linux)
    • RE: Moving Data
      ... * I need to collect the input data on exampl1.aspx by hitting the review button. ... <script runat="server"> ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Passing Variables from One Perlscript to Another
      ... > i normally use one script to do it all. ... > in the script, if the form has been submitted, the script validates the ... > section where the input form is displayed, populated with input data, if ... But what I want to do is to display the ...
      (comp.lang.perl.misc)
    • Re: Using ASP script to connect to SQL Server
      ... script. ... I've made a form to input data. ... Do you know anything about Html? ... You do put the file name of the ASP script in the input Form. ...
      (microsoft.public.frontpage)
    • Re: Using fmincon to optimise vectors?
      ... After trying my script with some different input data it would ... appear that the solver is not always finding the optimal solution. ...
      (comp.soft-sys.matlab)