Test IE ActiveX Security

This page is provided to help you test your IE ActiveX security settings. If you click the button below it will use Windows Script Host to change your home-page to this page.

As this page was loading you should have received a message similar to this: "Your current security settings prohibit running ActiveX controls on this page.". If you did not then your security settings are not what they should be.

You should not allow ActiveX objects to run in IE when you are browsing the web.

In IE, click the 'Tools' menu, click 'Internet Options', and select the 'Security' tab. Select 'Internet' zone and click the 'Custom Level' button. Disable every ActiveX-related setting (unless you have a good reason to leave one enabled). 'OK' your changes.

Code for this page:

<title>Test IE ActiveX Security</title>
<object id='wsh' classid='clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B'></object>
function unethical() {
  if (confirm('Are you sure?')) {
    wsh.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page",
      "http://lineoflight.com/js/set_homepage_with_wsh.html" )
    alert('Your home page has been changed to this page.');