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.
To do this, follow these steps: In Internet Explorer, click Tools, click Internet Options, and then click the Security tab. In the Select a Web content zone to specify its current security settings box, click Trusted Sites, and then click Sites.
Internet Explorer:In the "Select a zone to view or change security settings" box, click Trusted Sites, and then click Sites. Enter the URL of your Trusted Site, then click Add. Add as many sites as you need to.
Google Chrome > Adding Trusted SitesClick on Settings, scroll to the bottom and click the Show Advanced Settings link. Click on Change proxy settings (under Network) Click the Security tab > Trusted Sites icon, then click Sites. Enter the URL of your Trusted Site, then click Add. Click Close > OK.
MSDN
Adding Sites Programmatically
C#
The following should give you the way to do it in code...
http://blogs.msdn.com/ie/archive/2005/01/26/361228.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With