Weird Thoughts From Eric's Head

Tags - Categories : All | AJAX | BUSINESS | PERSONAL | PROGRAMMING | BOOK REVIEW

Enable Active Content - IE warning message
I am really tired of the question: "Why can't I run scripts on my local machine without getting a security warning. I do not know why it will not let me do it!"

The problem is not your script but your browser settings on IE. With SP2 installed, it adds more protection and one of them is to block JavaScript from running on the local machine.

It is an easy fix, all you need to do is go into your tools menu and select internet options. Scroll down to you see the Security heading and check the two boxes shown in the graphic below. The one that you most likely need is "Allow active content to run in files on My Computer". The default setting is unchecked. Checking it allows your code to run!

security setting with IE

As you can see, IE blocks code on the client and cd.

Click apply and Ok and your problems should be fixed!

Eric Pascarello
Moderator of HTML/JavaScript at www.JavaRanch.com
Author of: JavaScript: Your Visual Blueprint for Dynamic Web Pages


Rather than being "really tired", you could feel "very happy" at being of help to many of us who just don't have this kind of in-the-bowls of IE info to hand! Thanks It worked as on the tin! LD
Very helpful, thank you
Perfect. Fixed it. Microsoft neds to spell this out in their help.
What Microsoft "needs" to do is to change this from an all or nothing rule. We should be able to control this with the Security tab under local intranet or trusted sites. I don't want to let just any active content run on my machine. I want specific files in specific folders to be allowed to run without nagging me to "allow" it to run or by turning it on indiscriminately. It is a HUGE security risk to have this on for any active content.
I would agree with Kaczocha. We should be able to run script from trusted sites within local pages, which would provide more granularity in the protection offered.


Add a comment

Title
Body
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
Math Quiz 6 + 1 = (Helps stop blog spam)
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

TrackBack to http://radio.javaranch.com/pascarello/addTrackBack.action?entry=1116473896158