简体   繁体   中英

Using digest authentication for user login

I am building an REST API using Phils RESTserver (PHP). For the time being I am going to use Digest Authentication then oAuth. Using Digest, one must supply username and password. Is it wrong to use this authentication method to log users into the system rather than developers?

User A:

username = martin

password = passw0rd

User B:

username = mariah

password = LetMeIn

It's not bad, it's just not really maintainable or dynamic in any way so it's problematic. I've given you some advice on the oAuth provider problems in your other question so hopefully that will help, but I have never had my REST Server protected by oAuth.

Until a client pays me to implement it I have no interest in building it in! :D

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM