Override IE privacy settings using IInternetSecurityManager in Webbrowser control
问题 I need to create a custom security manager for a hosted WebBrowser control in my C# application. The hosted WebBrowser control should be independent from IE security and privacy settings. Problem: If IE privacy settings are set to "High", the websites that depend on cookies don't function properly in hosted WebBrowser control (sites work fine if the privacy setting is set to "Medium"). The winform that hosts the WebBrowser control provides below implementation for GetSecurityId, MapUrlToZone