Disable IE local file security warning

Have you put javascript, active x controls, java applets, .net code, silverlight xap files in a local html file in your filesystem only to find IE displaying message saying..

“To help protect your security, Internet Explorer has restricted this webapge from running scripts or ActiveX controls that could access your computer. Click here for options…”

This can be pretty annoying when testing pages. So, to fix this just add the following line into your test html page.

saved from url=(0014)about:internet Don’t forget to put this code in an html comment tag.

This comment is known as the mark of the web. 14 is the number of characters in URL – “about:internet”

Note: Reload the page from disk. Hitting F5 and blaming this blog post wont help! :-)

Advertisement

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.