0

I need to allow user to browse few specified domains. It is possible to turn on Content Advisor in Internet Explorer and add Approved Sites, but is it possible to do it programmatically from C#?

Note: Previously I wrote a BrowserView UserControl wrapping WebBrowser control. I used solution from stackoverflow to supress js errors and bind site source. It was nice solution - browser in my application, without address bar. Unfortunately it has one big disadvantage - on some websites supressing javascript errors made them unusable. When I turned off supressing errors they were working ok, but user would have to accept errors 3-4 times every page loading. Unacceptable.

Maybe there is another way to allow user to use only specified websites?

Community
  • 1
  • 1
Joe
  • 2,481
  • 6
  • 34
  • 60
  • See [this](http://stackoverflow.com/questions/2470980/how-to-add-url-to-the-trusted-zone-in-internet-explorer) SO question – Shai Jun 13 '12 at 12:04
  • It is not solving the problem. Adding site to Trusted Zone doesn't solve suppressing javascript errors problem by a WebBrowser control. According to one of [link](http://blogs.msdn.com/b/ie/archive/2005/01/26/361228.aspx) in the question it only minimizes authentication requests. – Joe Jun 13 '12 at 13:05

0 Answers0