Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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

by bradcathey (Prior)
on Aug 14, 2005 at 03:07 UTC ( #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!

"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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483650]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2018-03-20 04:27 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (247 votes). Check out past polls.