Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.6k views
in Q2A Core by
This is a basic security issue that I see violated in many BB systems.  Sending the user id as well as plain-text password in an email can be a serious security risk.  I would like to simply remove the password from the verification email (or, for that matter, any email that might include it in plain text).

Possible?
Q2A version: 1.5.3

1 Answer

+1 vote
by
selected by
 
Best answer

OK, I created a solution for this.  Here it is:

https://github.com/martin05rc/Q2A-Mod-2

 

 

by
Thank you for this patch martin05rc.
Ok I am just curious to know why it's bad practice to send the pwd in mail?
and if this patch avoids sending the pwd in plain text then what's the alternative?
by
Transmitting a password in unencrypted form is not a good practice.  It opens the user to hacking that could expose personal information and cause lots of issues (identity theft, etc.).  

Sending BOTH the user id and password on the same email, without any encryption, is even worst.  You are giving the potential attacker all the information in one spot.

Lots of people will receive such emails and keep them on their computer for reference.  This means that anyone with access to their computer can also steal their login information.

There's a lot more to it:

https://www.google.com/search?q=why+shouldn't+passwords+be+emailed+in+plain+text

The right approach is to double-verify the password during registration (enter the password twice) and then send a welcome email without the password.  It is the user's responsibility to remember it.  If they don't, they can always ask for a reset.
...