Easy login script without database

后端 未结 10 1946
说谎
说谎 2020-12-04 20:17

How do I create an easy login script that does not require a database. I would like it to be safe.

Alright, what about this script, i just made it by my knowledge in

10条回答
  •  被撕碎了的回忆
    2020-12-04 21:13

    FacebookConnect or OpenID are two great options.

    Basically, your users login to other sites they are already members of (Facebook, or Google), and then you get confirmation from that site telling you the user is trustworthy - start a session, and they're logged in. No database needed (unless you want to associate more data to their account).

提交回复
热议问题