如何让非管理员用户使用Web部署在IIS 6部署Web应用程序 [英] How to allow non-admin user to deploy web applications on IIS 6 using web deploy

查看:564
本文介绍了如何让非管理员用户使用Web部署在IIS 6部署Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想部署使用Web部署远程服务器上的Web应用程序IIS 6。
我成功通过管理员帐户服务器的发布,但不能由非管理员帐户发布。它失败消息:未经授权(401)

I'd like to deploy a web application to IIS 6 on a remote server using a Web Deploy. I succeed to publish by an admin account of server but couldn't publish by a non-admin account. it failed with message : Unauthorized(401)

我发现了两个不同的回答这个问题。

I've found two different answer about this problem.


  • 斯科特格思里说,非管理方案使管理员能够在服务器上配置Web部署,然后委托的部署能力的一个子集,以不具备生产服务器上管理员帐户谁开发 (http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx)

  • scott guthrie said, "The non-admin scenarios enable administrators to configure Web Deploy on a server, and then delegate a subset of deployment capabilities to developers who do not have admin accounts on the production server" (http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx)

特洛伊亨特说,该帐户发布必须在服务器上的管理权限(http://www.troyhunt.com/2010/11/you-deploying-it-wrong-teamcity_24.html)

Troy Hunt said, "The account publishing must have admin rights on the server" (http://www.troyhunt.com/2010/11/you-deploying-it-wrong-teamcity_24.html)

什么是正确的?我希望知道如何与Web部署远程代理服务在IIS 6由一个非管理员帐户部署。

What is right? I hope to know how to deploy with Web Deployment Remote Agent Service on IIS 6 by a non-admin account.

推荐答案

不幸的是,你不能。从后来在ScottGu的博客文章:

Unfortunately, you can't. From later on in ScottGu's blog post:

如果你试图走在Windows 7,Windows Vista或Windows Server 2003的上述步骤,不过,你会发现IIS管理服务(和IIS管理工具中的图标)不可用。相反,你需要按照一套略有不同的步骤来启用Web部署服务。

If you try and follow the above steps on Windows 7, Windows Vista, or Windows Server 2003, though, you’ll notice that the IIS Management Service (and its icon within the IIS admin tool) isn’t available. Instead you need to follow a slightly different set of steps to enable the Web Deploy service.

...

使用这种方法[网络部署代理]不会让您启用授权访问(允许非管理员帐户来部署 - 和我将在我的下一篇博客更深入覆盖) - 反而会让那些用管理员权限的帐户部署到机器。

Using this approach [Web Deploy Agent] won’t allow you to enable "delegated access" (which allows non-admin accounts to deploy – and which I’ll cover in more depth in my next blog post) – but will allow those with an account with admin permissions to deploy to the machine.

这篇关于如何让非管理员用户使用Web部署在IIS 6部署Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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