Log in

View Full Version : Restriction from running scripts or ActiveX



Giovanni
05-19-2007, 09:35 AM
Hi,

I’m having problems running your scripts. Hope you can help.

I don’t have a problem viewing/running your scripts on your website. However, when I copy them, put them in Front Page and then click on “Preview in Browser” I get the following message

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

How can I stop this happening, as you have done on your website?

djr33
05-19-2007, 10:32 AM
This is a feature of internet explorer. You're doing nothing wrong.

Locally (on your computer) it won't work until that is clicked.* But once you put it on your website and run it from there, it'll be just fine.

*(There is a tag called the "mark of the web" that is added, in the background, when you view a page on the web and can be added/faked in the source code to get around this if you need it for some reason, but I wouldn't recommend using it if you are planning to just put it up on your website anyway. But if you want more info, just google that, and look for the tag in question. I believe it goes at the top of the page.)

Twey
05-19-2007, 05:48 PM
It won't happen once you upload them to your site. In the mean time, you can use the mark of the web (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/motw.asp) to move the page into the internet zone.

Giovanni
05-20-2007, 07:07 AM
Thanks guys you've helped