Xml – How to disable the security warning when viewing XML in IE

internet explorerSecurityxml

When I view XML files in Internet Explorer, it does syntax highlighting and provides clickable expand/collapse controls. But for every file I open, I get a yellow
warning bar that takes three clicks to dismiss. These are local files, so the security warning shouldn't be necessary. Can it be disabled?

IE yellow security warning bar for viewing local xml file http://carrieandtim.com/drop/iexmlwarning.png

Best Answer

The previous suggestions on this page didn't work for me. I found the answer on this page

To summarise, go into Internet Options > Advanced then down to the Security section, and tick the box for "Allow active content to run in files on My Computer*"

The * means the setting only takes effect after Internet Explorer is restarted.