on-internet
← Community

Encrypting Django User Model Fields

Stack Overflow ·

Is there any way Django provides us to Encrypt all / atleast fields like first_name, last_name, email_id of auth.User model just like how it does encrypts PASSWORD field before storing it into Database ? My Workaround: I have gone through documentation & few questions on StackOverflow, according to which it would be possible to inherit default BaseUser model & define our own myUser model the way we want, by defining the Custom Character Field which encrypts & decrypts characters. Problem with this is in my application, I have provided SEARCH option for easy access of fields which are character

Comments

Sign in or sign up to comment and upvote.

No comments yet.