Replies: 12 comments
-
This is a usability or security issue. It may be better to change the default message to something less informative, |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Authentication and Error Messages
|
Beta Was this translation helpful? Give feedback.
-
Probably Lonnie said about NIST Guidelines https://pages.nist.gov/800-63-3/ |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Maybe we need a docs section on "hardening security" with recommendations on how to set this package to be maximally secure. |
Beta Was this translation helpful? Give feedback.
-
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 ;-) |
Beta Was this translation helpful? Give feedback.
-
I've seen some websites use something like this after the initial email validation:
Can we adopt this? @kenjis |
Beta Was this translation helpful? Give feedback.
-
@sammyskills Probably no. We have the following messages on sending Magic Link.
If we change only |
Beta Was this translation helpful? Give feedback.
-
If we are to adopt it, definitely, other messages will be updated, not just
With this, we can remove the |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions