Changing the security level of IE programatically

  • Thread starter Thread starter nupur.agarwal29
  • Start date Start date
N

nupur.agarwal29

Hi All,

I wnt to change the security level of internat explorer for internet
zone to medium.
By default this value is high for IE6.0 for Windows server 2003.

I want to do it programatically through my application in C# .Net. How
this can be done?

Thanks,
Nupur
 
Hi Nupur,

Find the registry settings for the internet zone with the security level set
to what you want. Save the key to a reg file.
From your program call regedit.exe -s MediumSecurity.reg (merg to the
registry, silently), then do a Refresh of the browser object.

Regards.
 
Back
Top