Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Every time I open an XML file in IE (I know, right?), I get the yellow bar security error saying scripts are blocked. Allowing the script to run makes it so you can collapse tags. Seems a bit superfluous...

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You will only see this for local files. It also applies to any other JavaScript, such as used in local HTML files.

Apparently, when allowing JavaScript for local files, one is granting JavaScript access to the whole local file system. (Which is not the case for JavaScript that is executed for some website.) Hence: IE will ask you if you're sure.

share|improve this answer
1  
Fair enough. Still can't shake the feeling there's room for improvement though (e.g. directly implementing this feature in IE or having some sort of trusted locations for scripts) –  Cogwheel Oct 21 '09 at 20:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.