symfonysecurityencryptionpasswordsuser-data

Zero-Acccess Encryption and "Forgot Password" section


I'm currently creating a "Google Docs" alternative using Symfony, but made for privacy. To "certify" the confidentiality of user data, I'm interested in the "Zero-Access" infrastructure.

If I understand correctly, the concept is that the client encrypts/decrypts data with a key based on the password and the server stocks encrypted data. It's better for security and privacy and certify that the website cannot use data for tracking/advertising.
Is it right?

The concept is interesting but I found 2 problems:

For the first problem, I found a solution: the "userAccess" entity (STR user_id, STR doc_id, INT permission) stock the file key encrypted by the user key, the client can decrypt this key then decrypt/encrypt the file.

For the second problem, I don't have any solution...

Here some questions:


Solution

  • I'll try to answer your questions:

    Hope that helps!