什么是短语“HTTP.SYS中的URL保留”。手段? [英] What is phrase "URL reservation in HTTP.SYS" means?

查看:218
本文介绍了什么是短语“HTTP.SYS中的URL保留”。手段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法理解这句话的意思。论坛上的人建议彼此在HTTP.sys中保留网址,但这是什么意思?它是为了什么?它是如何工作的?
全部来自HttpWebRequest uac问题。

Can't understand the meaning of this phrase. People on forums suggests each other to reserve url in HTTP.sys, but what does it mean? What is it for? How does it works? All it comes from HttpWebRequest uac problems.

推荐答案

几个Win32 API和.NET框架组件(如WCF)他们想要的时候使用 HTTP Server API 发送或接收针对本地计算机的HTTP请求。 HTTP Server API基本上以操作系统管理的方式提供此类功能,而无需在计算机上部署独立的Web服务器(如IIS)。

Several Win32 APIs and .NET framework components (such as WCF) utilize the HTTP Server API when they want to send or receive HTTP requests targeted at the local machine. The HTTP Server API basically provides such functionality in a manner managed by the OS without the need for deploying a standalone web server such as IIS on the machine.

此时它是最好引用上面链接的开发中心页面:

At this point it's probably best to quote the Dev Center page linked above:


保留持久地将URL命名空间的一部分分配给
个别用户允许他们保留或拥有
命名空间的那一部分。预订使用户有权注册为命名空间提供
请求。 HTTP Server API确保用户执行
而不是从他们不拥有的命名空间的部分注册URL。
为了确保命名空间安全性,ACL(访问控制列表)是
应用于为每个用户保留的命名空间部分。

A reservation persistently allocates a portion of the URL namespace to individual users allowing them to reserve or "own" that part of namespace. Reservations give the user the right to register to service requests for the namespace. The HTTP Server API ensures that users do not register URLs from portions of the namespace that they do not own. In order to ensure namespace security, ACLs (Access Control List) are applied to the portion of the namespace reserved for each user.

保留名称空间由URL前缀字符串标识,格式为
,与用于注册的URL前缀的方式相同。这意味着
所有各种主机说明符类别也可用于
预订。

Reserved namespaces are identified by URL prefix strings, formatted in the same fashion as URL prefixes used for registrations. This means that all the various host specifier categories are also available for reservations.

命名空间预留在重新启动时保持不变,更改需要
动态生效,因此无需停止并重启
机器。

Namespace reservations are persisted across reboots, and changes take effect dynamically so there is no need to stop and restart the machine.

这意味着在此之前HTTP Server API允许您侦听对特定URL命名空间的传入请求(将其视为URL路径),您必须注册。如上所述,注册是在用户帐户的基础上执行的,因此这里重要的是用户帐户,在该用户帐户下,想要收听请求的进程运行,这可能与当前帐户不同登录用户。

What this means is that before the HTTP Server API allows you to listen to incoming requests to a particular URL namespace (think of that as a "URL path"), you have to register for them. Registration is performed on a user account basis as stated above, so what matters here is the user account under which the process that wants to listen to the request runs, which may be different than the account of the currently logged in user.

这篇关于什么是短语“HTTP.SYS中的URL保留”。手段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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