Register Url for none Admin Service User

http://developers.de/blogs/rolf_nebhuth/archive/2006/08/02/902.aspx

 

To use HTTP.SYS for none administrator users, these must have the right this to do.(非管理员用户没有权利访问) The rights must be granted with the httpcfg tool (Support Tools for XP/2003). The tool must have two parameters for adding an urlacl

 

The Parameter –u specified the listen URI. It can be http or an https Scheme the “+” for the hostname means all IP addresses.

 

The Parameter –a specified in DACL (Part of SDDL) the rights of a specified URI

 

DACL

The DACL starts with a “D:” and then in parenthesis 6 tokens which defines one ACL.

 

D:(t1;t2;t3;t4;t5;t6)(t1;t2;t3;t4;t5;t6)(t1;t2;t3;t4;t5;t6)...

 

t1: ACE Type (A=Alowed/D=Denied)

t2: ACE Flags (can be empty)

t3: Permissions (GA=All;GW=Write;GX=Execute, is necessary to starts an listener)

t4: Object Type (can be empty)

t5: Inherited Object Type (can be empty)

t6: Trustee (contains a SID of an user or group or well-known SIDs (e.g. WD=Everyone)

 

Syntax SDDL

 

 

Examples:

 

Create Right to open listener for Everyone:

httpcfg set urlacl –u http://+:7777/ -a “D:(A;;GX;;;WD)”

 

Create Right to open listener for specified User:

httpcfg set urlacl –u http://+:7777/ -a “D:(A;;GX;;;S-3-5-21-1654004503-842923446-725354543-102)”

 

Show all urlacs on a system.

httpcfg query urlacl

 

Delete an urlacl on an system

httpcfg delete urlacl –u http://+7777/

 

There exists a GUI Tool which can be used to create urlacl and ssl rules for HTTP.SYS.

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值