Hi PerlMonks,

I have developed a small script to interface with my authorize.net merchant account to take one time payments - I am concerned with security and I just want to seek the comments on good secure programming practices.

The snippet of the script which actually posts the data to authorize.net is from a perlmonks node, it uses Net::SSLeay.
As it is a one time fee no cc data is stored - i know that would add a new dimension to the security of the number.

The file is also run under a shared ssl cert on my local server. The only security risk I can see would be if a hacker gained access to my system and altered my code to do something with the cc transactions.

Anyway, thats a brief overview of what I have done - I just wanted to see if there are any hints or tips people can give me, or any good reads on credit card transactions.

Thank you all

John

In reply to Perl CC Security by Anonymous Monk

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.