• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

ActiveX Security

Is there a way to programatically change the Settings in IE so that when an ActiveX control is displayed the IE would not display the warning message that goes something like this "You are about the download content from the web ..." This can be done manually thru view -> Internet Options -> Security Tab.
0
aqureshi
Asked:
aqureshi
1 Solution
 
Tommy HuiEngineerCommented:
I'm not sure it is possible to do that through the registry (my gut feeling is that it is stored in the registry somewhere), but this could be a serious break in security. If you did this, then it would be possible to download a virus or potentially destructive program and execute it.

The better answer is to make sure that all of the items used and downloaded by the control are signed and certified for the web control. Then the user will never get this message. Check out http://www.verisign.com and look in the Internet Client SDK documentation for signing.
0
 
aqureshiAuthor Commented:
Thank u Thui,
  Perhaps i was not too clear. I have an Install program that install my ActiveX Control on the client machine. I am not looking to Override the security of IE thru the ActiveX control. That would be disastrous, instead i would like to write a simple program that can be installed along with the ActiveX control that would use Shell or any other API(?) to minimize the level of security with IE.
   There is Control panel file inetcpl.cpl that can be loaded using IShellDispatch but i can't figure out how to change any options within it. Msdn does have any help relating to that.
I hope that clears it, Sorry about not clarifying my Q before
Azfar
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now