Connecting Tech Pros Worldwide Help | Site Map

Javascript permissions

Anders Floderus
Guest
 
Posts: n/a
#1: Jul 23 '05
When I try to run javascript, I get the message
"To help protect your security, Internet Explorer has restricted this file
from showing active
content that could access your computer. Click here for options..."
If I chose to show blocked contents, it works all right.

Why ? I have javascript enabled and never get this message while browsing
the web.
I have removed everything except the most basic functionality (see below)
but it still
works this way.
What can I do so I can show the page without this interruption?

Thanks for any answer.
Anders


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>jtest</title>
<script language="javascript">
<!---
--->
</script>
</head>
<body>
<script>
document.writeln('test writeln');
</script>
</body>
</html>

--
m a i l : anders d o t floderus a t swipnet d o t se


Douglas Crockford
Guest
 
Posts: n/a
#2: Jul 23 '05

re: Javascript permissions


> When I try to run javascript, I get the message[color=blue]
> "To help protect your security, Internet Explorer has restricted this file
> from showing active
> content that could access your computer. Click here for options..."
> If I chose to show blocked contents, it works all right.
>
> Why ? I have javascript enabled and never get this message while browsing
> the web.
> I have removed everything except the most basic functionality (see below)
> but it still
> works this way.
> What can I do so I can show the page without this interruption?[/color]

Microsoft is committed to improving the Security of Windows. But they
don't know how to do that, so instead they do symbolic annoyances to
demonstrate their commitment. It is very much like security at airports.
Martin Honnen
Guest
 
Posts: n/a
#3: Jul 23 '05

re: Javascript permissions




Anders Floderus wrote:
[color=blue]
> When I try to run javascript, I get the message
> "To help protect your security, Internet Explorer has restricted this file
> from showing active
> content that could access your computer. Click here for options..."
> If I chose to show blocked contents, it works all right.
>
> Why ? I have javascript enabled and never get this message while browsing
> the web.[/color]

Then you are likely using Windows XP Service Pack 2 (Win XP SP 2) where
the settings have been changed, by default script is not allowed for
local files.
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/XpSp2Compat.asp>

--

Martin Honnen
http://JavaScript.FAQTs.com/
John W. Kennedy
Guest
 
Posts: n/a
#4: Jul 23 '05

re: Javascript permissions


Anders Floderus wrote:[color=blue]
> When I try to run javascript, I get the message
> "To help protect your security, Internet Explorer has restricted this file
> from showing active
> content that could access your computer. Click here for options..."
> If I chose to show blocked contents, it works all right.
>
> Why ? I have javascript enabled and never get this message while browsing
> the web.
> I have removed everything except the most basic functionality (see below)
> but it still
> works this way.
> What can I do so I can show the page without this interruption?[/color]

It's essentially like this.

You bought a house from Microsoft, but discovered that none of the doors
or windows have locks.

So after a few years of complaints, Microsoft came out with a
"solution", in the form of a proximity alarm that sounds a 120dB klaxon
whenever anyone comes within 50 feet of your house. To make sure it's
really safe, you have to turn it off by hand every time it sounds.

Get Firefox.

--
John W. Kennedy
IE666 -- the Web Browser of the Beast
--
John W. Kennedy
"Information is light. Information, in itself, about anything, is light."
-- Tom Stoppard. "Night and Day"
Grant Wagner
Guest
 
Posts: n/a
#5: Jul 23 '05

re: Javascript permissions


"Douglas Crockford" <nospam@covad.net> wrote in message
news:f297e$425fc536$44a4ae24$2574@msgid.meganewsse rvers.com...[color=blue][color=green]
>> When I try to run javascript, I get the message
>> "To help protect your security, Internet Explorer has restricted this
>> file from showing active
>> content that could access your computer. Click here for options..."
>> If I chose to show blocked contents, it works all right.
>>
>> Why ? I have javascript enabled and never get this message while
>> browsing the web.
>> I have removed everything except the most basic functionality (see
>> below) but it still
>> works this way.
>> What can I do so I can show the page without this interruption?[/color]
>
> Microsoft is committed to improving the Security of Windows. But they
> don't know how to do that, so instead they do symbolic annoyances to
> demonstrate their commitment. It is very much like security at
> airports.[/color]

Microsoft has documentation that explains how to avoid this problem
using the Mark of the Web.

<url: http://msdn.microsoft.com/workshop/a...rview/motw.asp
/>
<-- saved from url=(0014)about:internet -->

It can also be disabled on a machine-by-machine basis by going to Tools[color=blue]
> Internet Options > Advanced tab, scrolling down to Security and[/color]
checking "Allow active content to run in files on My Computer".



By next let the facts get in the way of a good "stick it to Microsoft"
tirade.

--
Grant Wagner <gwagner@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq


Grant Wagner
Guest
 
Posts: n/a
#6: Jul 23 '05

re: Javascript permissions


"John W. Kennedy" <jwkenne@attglobal.net> wrote in message
news:PCQ7e.66$vd4.23@fe10.lga...[color=blue]
> Anders Floderus wrote:[color=green]
>> When I try to run javascript, I get the message
>> "To help protect your security, Internet Explorer has restricted this
>> file from showing active
>> content that could access your computer. Click here for options..."
>> If I chose to show blocked contents, it works all right.
>>
>> Why ? I have javascript enabled and never get this message while
>> browsing the web.
>> I have removed everything except the most basic functionality (see
>> below) but it still
>> works this way.
>> What can I do so I can show the page without this interruption?[/color]
>
> It's essentially like this.
>
> You bought a house from Microsoft, but discovered that none of the
> doors or windows have locks.
>
> So after a few years of complaints, Microsoft came out with a
> "solution", in the form of a proximity alarm that sounds a 120dB
> klaxon whenever anyone comes within 50 feet of your house. To make
> sure it's really safe, you have to turn it off by hand every time it
> sounds.
>
> Get Firefox.[/color]

Microsoft has documentation that explains how to avoid this problem
using the Mark of the Web.

<url: http://msdn.microsoft.com/workshop/a...rview/motw.asp
/>

<-- saved from url=(0014)about:internet -->

It can also be disabled on a machine-by-machine basis by going to Tools[color=blue]
> Internet Options > Advanced tab, scrolling down to Security and[/color]
checking "Allow active content to run in files on My Computer".

But lets not let the facts get in the way of a good "stick it to
Microsoft" tirade.

--
Grant Wagner <gwagner@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq


Grant Wagner
Guest
 
Posts: n/a
#7: Jul 23 '05

re: Javascript permissions


"Grant Wagner" <gwagner@agricoreunited.com> wrote in message
news:IsS7e.276$3d3.1363@news2.mts.net...[color=blue]
>
> By next let the facts get in the way of a good "stick it to Microsoft"
> tirade.[/color]

But let's not let ...


Douglas Crockford
Guest
 
Posts: n/a
#8: Jul 23 '05

re: Javascript permissions


>>By next let the facts get in the way of a good "stick it to Microsoft"[color=blue][color=green]
>>tirade.[/color][/color]
[color=blue]
> But let's not let ...[/color]

I think you had it right the first time. Or did you?
John W. Kennedy
Guest
 
Posts: n/a
#9: Jul 23 '05

re: Javascript permissions


Grant Wagner wrote:[color=blue]
> "John W. Kennedy" <jwkenne@attglobal.net> wrote in message
> news:PCQ7e.66$vd4.23@fe10.lga...
>[color=green]
>>Anders Floderus wrote:
>>[color=darkred]
>>>When I try to run javascript, I get the message
>>>"To help protect your security, Internet Explorer has restricted this
>>>file from showing active
>>>content that could access your computer. Click here for options..."
>>>If I chose to show blocked contents, it works all right.
>>>
>>>Why ? I have javascript enabled and never get this message while
>>>browsing the web.
>>>I have removed everything except the most basic functionality (see
>>>below) but it still
>>>works this way.
>>>What can I do so I can show the page without this interruption?[/color]
>>
>>It's essentially like this.
>>
>>You bought a house from Microsoft, but discovered that none of the
>>doors or windows have locks.
>>
>>So after a few years of complaints, Microsoft came out with a
>>"solution", in the form of a proximity alarm that sounds a 120dB
>>klaxon whenever anyone comes within 50 feet of your house. To make
>>sure it's really safe, you have to turn it off by hand every time it
>>sounds.
>>
>>Get Firefox.[/color]
>
>
> Microsoft has documentation that explains how to avoid this problem
> using the Mark of the Web.
>
> <url: http://msdn.microsoft.com/workshop/a...rview/motw.asp
> />
>
> <-- saved from url=(0014)about:internet -->
>
> It can also be disabled on a machine-by-machine basis by going to Tools[color=green]
> > Internet Options > Advanced tab, scrolling down to Security and[/color]
> checking "Allow active content to run in files on My Computer".
>
> But lets not let the facts get in the way of a good "stick it to
> Microsoft" tirade.[/color]

The facts are that, despite warnings at the time from everyone with a
working brain in the industry, Microsoft designed an web browser that is
the security equivalent of dressing up in spike heels, fishnets, and a
teddy, going down to the docks, and shouting "Hello sailor!" at every
passing drunk.

And their "fix" to it has been equally irresponsible and moronic.

Of course, one doesn't expect thugs to be very bright.

--
John W. Kennedy
"But now is a new thing which is very old--
that the rich make themselves richer and not poorer,
which is the true Gospel, for the poor's sake."
-- Charles Williams. "Judgement at Chelmsford"
Closed Thread