Field option to encrypt in DB #1644
Replies: 1 comment 1 reply
-
This is interesting, but might get a little tricky with querying data. You could encrypt the data going in with field I think the tricky part would be querying data, let's say I encrypt a We have Thoughts? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am planning of making a PR where PayloadCMS fields are given an "encrypted" option to allow them to be encrypted in the DB so if attackers get the DB they still gotta decrypt it.
The encrypt option won't just be true false, it will have additional options such as what key it should encrypt with if you want it to be different to your payload secret.
Is this a good idea? Will only work on it if you guys think it is a good idea.
Beta Was this translation helpful? Give feedback.
All reactions