ASP.net Web API RESTful web service + Basic authentication

后端 未结 3 547
情歌与酒
情歌与酒 2020-12-08 02:50

I\'m implementing a RESTful web service using ASP.Net Web Api. I have concluded to use Basic authentication + SSL to do the authentication part. What is the best/correct way

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 03:17

    Have a look here for a good basic authentication implementation

    http://leastprivilege.com/2013/04/22/web-api-security-basic-authentication-with-thinktecture-identitymodel-authenticationhandler/

    there is more to read about it at: https://github.com/thinktecture/Thinktecture.IdentityModel.45/wiki

提交回复
热议问题