Javascript – How to tell IE a HTML file on the disk is not a security risk

internet explorerjavascriptSecurity

Our build script creates a HTML log with some embedded javascript. When I open that in Internet Explorer, I get the yellow warning bar that IE has blocked running "scripts or activex controls".

Since it is a local file, I cannot add it to trusted sites (IE expects a domain here).

I do not want to change security settings for the default zone.

Any idea how to permanently unblock it?

IE version is 7.0.5730.13 on XP Pro.

Best Answer

Embed the Mark of the Web:

<!-- saved from url=(0016)http://localhost -->