【问题标题】:How to set the IIS File Security to Integrated Windows authentication with a Web Setup Project installer?如何使用 Web 设置项目安装程序将 IIS 文件安全设置为集成 Windows 身份验证?
【发布时间】:2009-08-10 03:08:32
【问题描述】:

我用安装程序编写了一个 ASP.NET Web 应用程序。对于安装程序,我使用 Visual Studio 2008 中 Setup and Deployment 项目类型下的 Web Setup Project

如何在使用Web 安装项目 的安装过程中仅在一个 .aspx 页面或目录上将 IIS 文件安全设置为集成 Windows 身份验证?如果 Web 设置项目无法实现,我将如何自动化该任务?

目前我正在使用安装程序安装应用程序并手动设置安全权限。

【问题讨论】:

    标签: asp.net visual-studio iis installation


    【解决方案1】:

    查看安装方法的 CustomAction 类。

    这是一个示例:

    http://www.codeproject.com/KB/install/SetIISettings.aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-23
      • 2013-08-21
      • 1970-01-01
      • 2010-11-04
      • 1970-01-01
      • 2017-06-18
      • 1970-01-01
      • 2011-09-24
      相关资源
      最近更新 更多