DEV Community

Discussion on: How to securely store passwords?

 
jhelberg profile image
Joost Helberg

Leaving authentication to an underlying product does mean it is stored somewhere, you are right about that. My experience is that no application builder understands the importance of authentication as good as the server-designers of database and other authentication providers. So, my opinion is that you'd better leave authentication to those parties and keep away from authentication as far as possible.
RLS allows you to use the user-context for determining which rows are for you and which not. The application doesn't need to bother figuring out authorization. The RLS, a static declaration and hence etter verifiable, will do that for the application.
Oauth2 is an example of using a third party authoriser, rdbms' can do it too.

Thread Thread
 
_genjudev profile image
Larson

Stop talking.

Thread Thread
 
sumtingwon profile image
sumting-won

agree, that dude should stop talking already