Search code examples
c#asp.netinternet-explorertrusted-sites

How to add URL to the trusted zone in Internet Explorer?


How can I add an URL to the trusted site? It seems that there are stored in the registry, but where exactly?
The hints I've googled so far weren't helpfull.

The .net programm will run locally on each client.

Edit clarification: I want to do this programmaticly running C# code.


Solution

  • The following should give you the way to do it in code...

    http://blogs.msdn.com/ie/archive/2005/01/26/361228.aspx

    -- EDIT --

    The original URL has expired, so here's a copy from the archives:

    https://web.archive.org/web/20051028021129/http://blogs.msdn.com/ie/archive/2005/01/26/361228.aspx

    The sample project .ZIP file is downloadable there as well.