Rest-ful Basic Authentication with ASP.NET MVC

后端 未结 4 1984
滥情空心
滥情空心 2021-02-01 08:14

Anyone know how this works, I\'m using the .net membership provider and just want to pull an xml list. I\'m also using the .net mvc sdk.

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-01 08:48

    You can use HTTP Digest Access Authentication (some implementation details here and here) which is a lot stronger than basic but it is still a security trade-off. If you need more security putting the service behind SSL (if it is an option) would be enough.

提交回复
热议问题