Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Storing credit card numbers temporarily (OT)

by bradcathey (Prior)
on Aug 14, 2005 at 03:07 UTC ( [id://483650]=note: print w/replies, xml ) Need Help??


in reply to Re: Storing credit card numbers temporarily (OT)
in thread Storing credit card numbers temporarily (OT)

Hmmmmmm, I only have one key for all. Currently it is stored in a chmod'ed 600 folder off my home directory (not root). I was told this was the safest place. I like your idea of a different key for each! But why in a hidden field? Isn't that too obvious? What about a cookie?

I did think about the cancel button, but there is still a chance they will bail without clicking it.

And how do you delete a record from a database automatically? Cron job? Thanks!


—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot
  • Comment on Re^2: Storing credit card numbers temporarily (OT)

Replies are listed 'Best First'.
Re^3: Storing credit card numbers temporarily (OT)
by gam3 (Curate) on Aug 14, 2005 at 13:49 UTC
    There is no security difference between a cookie and a hidden field in a form on the client side. They are both likeley to be stored on the hard disk. Having the key in the form just binds it closer to its use so it is less likely to leak out. If you were careful you could get the same effect with cookies -- using path etc.

    It does not matter if someone has the key on the client machine, because the CC# is on your computer. And if they get into the database they will need the key from each client to get the stored CC#s.

    Yes you can run a cron job to remove the old entries.

    -- gam3
    A picture is worth a thousand words, but takes 200K.

Log In?
Username:
Password:

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

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

    No recent polls found