Create a table in Django’s User models!

Asked

Viewed 202 times

0

Well, I would like to create a column in the User models table of Django, because I would like to get the password before Django turns into sha256, because I want to display it in the browser without encryption. You can do it?

  • Yeah, but watch out for why he does it. This involves security, involves the integrity of your user’s data, respect for it and other numerous factors... Usually whoever puts a password on the site never uses it alone in that situation. For these and N other reasons all portals always encrypt the password and still no possibility to decrypt as is the case of MD5, this ensures security to the user. I speak for myself when I say I wouldn’t sign up for a site that does something like this. Think about it before thinking about how to do it.

  • In the joomla on the first control screen, before applying salt and Encrypt you can do a gambiarra and set the value to another parameter of your object. If you will persist in the error of capturing the password I explain you in the answers

  • yes, I agree with you, but I am making an application to "test" my user registration system, for example: in the login has the option to recover the password, then I put 2 fields: the username and the email, dps of that it will check if the bank is correct, Then I wanted you to return the password without encryption... just so I could see for myself. I know Django already has a token recovery system, I just wanted to test it anyway.

  • read wrong I understood joomla =) but the premise of security is the same, until then you use it to play, to test your skills blz, but beware of these things in production!

  • for sure, security always! If you can help me in this gambiarra...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.