Replies: 12 comments
|
This is a usability or security issue. It may be better to change the default message to something less informative, |
|
I’m on my phone currently and can’t find the right doc, but the latest advice from NOST, IIRC, is that you should focus on usability and help people with the messages instead of secure it. Combined with encouraging better passwords they found the obscure messaging wasn’t needed and tended to hurt the experience with no benefit to security. |
|
Authentication and Error Messages
|
|
Probably Lonnie said about NIST Guidelines https://pages.nist.gov/800-63-3/ |
|
I was just reading that part from OWASP about usability. I’ll try to find the NIST recommends later tonight. However, I’m tempted to say we leave it as is, and let people that need more security change their lang file. This is similar to how we treat remember me - since more secure sites are recommended not to have that functionality anyway. |
|
Maybe we need a docs section on "hardening security" with recommendations on how to set this package to be maximally secure. |
|
I think you should still modify the translations or indicate it in the documentation as suggested by @MGatner If we look on the internet, comparing Laravel vs CodeIgniter, many websites highlight security as a strong point of CI So I think this is an important point on which you should continue to differentiate CI. This is of course only my opinion and I let you decide ;-) |
|
I've seen some websites use something like this after the initial email validation: Can we adopt this? @kenjis |
|
@sammyskills Probably no. We have the following messages on sending Magic Link. If we change only |
|
If we are to adopt it, definitely, other messages will be updated, not just With this, we can remove the |
|
Okay, that makes sense. But we have no consensus to change to generic messages. If we use the message like Of course, you can customize the error message as you like. So, adding docs to customize the message for security is no problem. |
I think this is still the guiding principle, and providing helpful messages with docs on how to tighten security covers all bases. But thank you @sammyskills as ever for your attentiveness |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I think that the translations should be modified to improve the security of Shield.
Indeed, the current translations can give information to malicious people and also be compromising for personal data.
For example, with this translation: "Unable to log you in. Please check your password", we know that the email address exists in the database.
This is also the case with the sentence "Unable to verify the email address matches the email on record."
For example, I suggest replacing with the valid sentence "Check your email! We just sent you an email with a Login link inside. It is only valid for 60 minutes."
What do you think?
InstantT
All reactions