4

Sony's recent security "holes" showed how unsafe it can be to store data unencrypted. As some of you may know, I 'm working on re-releasing the free CRM theme Driftwood.

What is the most secure way to store sensitive (ie non-public information) post meta in the database?

2
  • Could you be more specific about the type of data stored?
    – mfields
    Commented Jun 23, 2011 at 15:36
  • It could be email, phone numbers, or in some cases social security numbers. The new system allows for the site admin to store any text/media they want about/for a contact.
    – MTT
    Commented Jun 23, 2011 at 15:41

1 Answer 1

5

Use bcrypt.

http://codahale.com/how-to-safely-store-a-password/

2
  • Any good resources for how to do this in php or better yet hooking into WordPress?
    – mfields
    Commented Jun 23, 2011 at 16:01
  • 2
    @mfields - gist.github.com/972386 bcrypt usage in PHP
    – Scott
    Commented Jun 23, 2011 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.