IE保护模式问题?

发布于 2024-09-28 16:59:14 字数 185 浏览 0 评论 0原文

我们开发了一个 ie-add(带有插件 Express),其中在本地保存一些信息。 (到应用程序路径)但是如果没有“以管理员身份运行”或“禁用保护模式”,则不允许这样做。

有什么办法可以做到这一点吗?有什么办法可以以管理员权限加载加载项吗? (清单文件不适用于 dll)或任何在用户批准的情况下禁用保护模式的方法?

谢谢你!

We've developed an ie-add (with add-in express) in which saves some information on locally. (to the application path) But without "run as administrator" or "disabling protected mode" it's not allowed.

Is there any way to accomplish this? Any way to load add-in with administrator privilige? (manifest files does not work for dll's) or any way to disable protected mode with user approval?

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

ゞ记忆︶ㄣ 2024-10-05 16:59:15

我认为没有办法以编程方式禁用保护模式。我想我们必须忍受它。在以下位置找到有关如何执行此操作的一些指示: 操作方法:在 Internet Explorer 7 和 IE8 中处理保护模式 API

I don't think there's a way to disable Protected Mode programmatically. I assume we have to live with it. Find some pointers of how to do this in: HowTo: Deal with Protected Mode API in Internet Explorer 7 and IE8.

只等公子 2024-10-05 16:59:15

解决方案如下:

启动 RegEdit 并转到此键:

HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones

在我的计算机 (Windows 7) 上,本地系统帐户是 S-1-5-18。对于所有版本的 Windows 来说这可能都是相同的,但我不知道这一点。

在该注册表项中,还有五个键 1、2、3、4 和 5,每个键代表一个区域。

对于每个区域,如果存在名为 "2500"DWORD 值,请将其值设置为 0 以关闭保护模式。请注意,如果不存在,则不必添加它。

“2500”应该控制“启用保护模式”复选框。

或者,如果您只想更改当前用户的保护模式设置,请转到上述注册表项的 HKEY_CURRENT_USER 版本,我认为 HKEY_LOCAL_MACHINE 也可能有一个(请随意检查)并使用您喜欢的任何一个。

Here is the solution:

Fire up RegEdit and go to this key:

HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones

On my machine (Windows 7) the Local System account is S-1-5-18. This might be the same for all versions of Windows, but I don't know about that.

In that registry key, there are five more keys 1, 2, 3, 4 and 5 - each representing a Zone.

For every zone, if there is a DWORD value with the name "2500", set its value to 0 to turn protected mode off. Note that you don't have to add it if it isn't there.

The value "2500" is supposed to control the tick box "Enable protected mode".

Or, if you want to just alter Protected Mode settings for Current User then go to the HKEY_CURRENT_USER version of the above registry key, and I think there may also be one for HKEY_LOCAL_MACHINE (feel free to check) and use whichever one you prefer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文