有什么可以在Internet区域沙箱中的ClickOnce应用程序期望蒙混过关? [英] What can a ClickOnce application in an Internet Zone sandbox expect to get away with?

查看:123
本文介绍了有什么可以在Internet区域沙箱中的ClickOnce应用程序期望蒙混过关?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有我们要提供给广大互联网使用的公共用尽可能少的点击尽可能的应用程序。我调查,我们是否可以使用的ClickOnce避免确认对话框,我们现有的替代品带来。

We have an application that we want to make available to the general internet-using public with as few clicks as possible. I'm investigating whether we can use ClickOnce to avoid the confirmation dialog that our existing alternatives entail.

我的研究,到目前为止表明这应该只要是可能的(一)申请Authenti code SIGNES,的(B),它带有一个明显的要求充分无害的权限集。

My research so far indicates that this ought to be possible as long as (a) the application is AuthentiCode signes, and (b) it comes with a manifest that request a sufficiently innocuous set of permissions.

我在哪里可以找到详细,权威的榜单,其中的权限是足够无害,以避免在确认对话框?我已经在MSDN上点击周围没有查找任何可能相关的。

Where can I find a detailed, authoritative list of which permissions are "sufficiently innocuous" to avoid the confirmation dialog? I've clicked around on MSDN without locating anything that looks relevant.

我发现了一些信息,其中的据我了解的说,在默认情况下为Internet区域应用程序授予的权限是用户可配置之前,.NET 4.0(即针对XP和Vista) ,但在后来的版本,它们是硬codeD中的主机(我认为指的是网络浏览器?)。但即使这是真的,我需要知道的默认的在XP和Vista中默认的Internet区域权限,以及什么硬codeD权限集在Windows 7。

I've found some information which as far as I understand it says that the permissions granted to Internet Zone applications by default were user-configurable prior to .net 4.0 (i.e. for XP and Vista), but that in later version they are hard-coded in the "host" (by which I assume is meant the web browser?). But even if that is true, I'll need to know that the default default Internet Zone permissions in XP and Vista are, as well as what the hardcoded permission sets in Windows 7 is.

我不是非常了解。NET因此有可能我是从一个完全错误的观点接近这一点。如果是的话,请让我知道正确的观点是什么。 (不过,我不需要对想没有一个确认对话框运行的礼义讲课 - 你会是preaching合唱团,但这个决定不是我做)。

I'm not very knowledgeable about .net so it is possible that I'm approaching this from a completely wrong perspective. If so, please let me know what the right perspective is. (However, I don't need any lectures about the propriety of wanting to run without a confirmation dialog -- you would be preaching to the choir, but that decision is not mine to make).

推荐答案

一个同事发现了一个MSDN页面的 < trustInfo> 元素(ClickOnce应用程序),包含的东西,看来是答案:

A coworker found an MSDN page <trustInfo> Element (ClickOnce Application), containing something that purports to be the answer:

第一个例子说明了 trustInfo 元素在Internet安全区域中可用的默认权限。

The first example illustrates the trustInfo element for the default permissions available in the Internet security zone.

这可能是更具有权威性,但它总比没有好。

It could be more authoritative, but it's better than nothing.

这篇关于有什么可以在Internet区域沙箱中的ClickOnce应用程序期望蒙混过关?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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