开发者

Change internet explorer security settings

HI,

How can i change internet explorer security 开发者_C百科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.

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#).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜