Windows Azure的基本身份验证 [英] Windows Azure Basic Authentication

查看:248
本文介绍了Windows Azure的基本身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从看它,我会设置基本身份验证与一些琐碎的密码筛选人建立在Windows Azure上测试的网站,通常为prevent随机的人。 Windows Azure的,貌似没有这个选项。

I need to set up a testing website on Windows Azure, and typically to prevent random people 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.

在web.config中实施基本的身份验证文档也惊人的稀疏。

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

推荐答案

我认为你应该能够使用IIS7演示BasicAuthenticationModule达到你想要的 - 看到完整的code和指令
<一href=\"http://learn.iis.net/page.aspx/170/developing-a-module-using-net/\">http://learn.iis.net/page.aspx/170/developing-a-module-using-net/

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/

这篇关于Windows Azure的基本身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆