更改Internet Explorer安全设置 [英] Change internet explorer security settings
问题描述
您好,
我如何通过代码更改Internet Explorer安全设置结果
I想做的事,但下面的代码由步骤:
工具 - > Internet选项 - >安全选项卡 - >自定义级别 - >并更改登录类型为匿名登录
How can i change internet explorer security settings by code.
i want to do the steps below but by code:
Tools -> Internet Options -> Security tab -> Custom Level -> and change the logon type to Anonymous logon.
我觉得它可以。从注册表文件改变了,但我不能找到它。
I think that it can be changed from the registry file but i can't found it.
推荐答案
微软对所使用的注册表项,而大量的文档上网区这里。
Microsoft has rather extensive documentation on the registry keys used by the Internet Zones here.
的设置位于关键HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones [区域号码],其中[下区号码] 0 =我的电脑之一,1 =当地,2 =受信任的站点,3 =互联网,4 =受限。为了让你上面列出的变化,你需要的价值1A00设置为0x00030000。 (对不起,我不能用C#注册表操作帮助)。
The settings are located under the key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones[Zone Number], where [Zone Number] is one of 0 = My Computer, 1 = Local, 2 = Trusted Sites, 3 = Internet, 4 = Restricted. To make the change you listed above, you would need to set the value 1A00 to 0x00030000. (Sorry I can't help with registry manipulation in C#).
这篇关于更改Internet Explorer安全设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!