开发者

Windows Azure Basic Authentication

开发者 https://www.devze.com 2023-02-28 05:04 出处:网络
I need to set up a testing website on Windows Azure, and typically to prevent random 开发者_如何学Gopeople from looking at it I would have set up basic authentication with some sort of trivial passwor

I need to set up a testing website on Windows Azure, and typically to prevent random 开发者_如何学Gopeople from looking at it I would have set up basic authentication with some sort of trivial password to filter people. Windows Azure, seemingly, does not have this option.

What are the alternatives? So far I am considering implementing another level of forms authentication but this is a lot of work and would need to be stripped out in the production version of the site.

The documentation on implementing Basic-Authentication in the web.config is also shockingly sparse.


I think you should be able to use the IIS7 demo BasicAuthenticationModule to achieve what you want - see full code and instructions in http://learn.iis.net/page.aspx/170/developing-a-module-using-net/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号