PHP best practices for user authentication and password security

后端 未结 8 2367
离开以前
离开以前 2020-11-30 19:10

What are the best current libraries/methods to authenticate users without the use of a CMS or heavy framework?

Responses should include suggestions for anything you

8条回答
  •  难免孤独
    2020-11-30 19:34

    I use OpenID .

    But like stackoverflow I use the Google project openid-selector to do the heavy lifting.
    Demo Page here.

    The obvious advantages (of OpenID) are.

    • You don't need to be a security expert.
    • Users trust the big sites with their info.
    • You can request things like (nickname etc) but user has to opt in.
    • You don't need to worry about:
      • registration processes
      • lost/forgotten password

提交回复
热议问题