Jump to content

Secure data storage


jon23d

Recommended Posts

I need to store sensitive data and make it accessible to an arbitrary number of admins.  I will use SSL during transmission, but want to make it easy for admins to decrypt the data.

 

This is what I've come up with, though I haven't the slightest idea how to begin with the public key encryption...

 

- Admins are issued public and private keys when added to the system (can private key be as simple as a strong password?)

- Each time an admin is added, all data will be un-encrypted using the currently logged-in admin's key, then re-encrypted using the new admin's key, and finally stored as a new record linked to the admin account.  This way each admin has a separate copy of all records, only available to be unencrypted by him or her.  If an admin is fired, all linked records are then deleted.

 

Does this make sense and seem reasonable?  I'm confused as to whether I use openssl, or if mcrypt provides everything I need.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/154588-secure-data-storage/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.