【问题标题】:Windows Azure Basic AuthenticationWindows Azure 基本身份验证
【发布时间】:2011-04-24 20:18:05
【问题描述】:

我需要在 Windows Azure 上建立一个测试网站,通常为了防止随机的人查看它,我会设置基本身份验证,并使用某种简单的密码来过滤人员。 Windows Azure 似乎没有这个选项。

有哪些选择?到目前为止,我正在考虑实施另一个级别的表单身份验证,但这需要大量工作,并且需要在网站的生产版本中去除。

关于在 web.config 中实现基本身份验证的文档也少得惊人。

【问题讨论】:

    标签: authentication azure basic-authentication


    【解决方案1】:

    我认为您应该能够使用 IIS7 演示 BasicAuthenticationModule 来实现您想要的 - 请参阅完整的代码和说明 http://learn.iis.net/page.aspx/170/developing-a-module-using-net/

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-06-20
    • 2011-01-28
    • 1970-01-01
    • 1970-01-01
    • 2019-01-28
    相关资源
    最近更新 更多