Prashanth
Prashanth

Reputation:

When loading a page containing flash or javascript, I get a security error message

"To help protect your security, Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer"

Whenever I add Flash movies or javascript code this message will show. It also shows for somebody else, so how do I get rid of this message? If I load or access some other website which cotains these features it doesn't show this message. Please tell me how to write a script so that it does not show this error.

Upvotes: 1

Views: 920

Answers (3)

Javier Suero Santos
Javier Suero Santos

Reputation: 572

Another option to not see that noise warning when you load that page from your pc is to write a comment like this:

<head>
<!-- saved from url=(0021)http://www.myurl.com/ -->
</head>

Where the number is the number of characters of the url.

Upvotes: 0

jcoder
jcoder

Reputation: 30035

This article explains one way to bypass this for localfiles http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx

The problem is that locally loaded files run with permissions that ones loaded from a remote webserver don't. So IE tries harder to warn you about them. You can put a marker in the html file telling IE to use the web permissions instead so the warning goes away (and so do the permissions, which you usually don't want anyway)

Upvotes: 0

Greg
Greg

Reputation: 321628

If you're loading an HTML file directly (as opposed to through a web server) you can quite often get this message. If that's the case, set up a local web server (Apache or IIS for example) and develop on that.

If you're already going through a web server, then it's probably your IE security settings are a bit strange. Go to Tools -> Internet Options -> Security and check the settings there.

Upvotes: 4

Related Questions