473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

IE Script Warning from Local Drive

When opened in IE 6.0 SP2 from my local hard drive, the simple javascript
below gives me a warning

"To help protect your security, Internet Explored has restricted this file
from showing active content that could access your computer."
But it gives no warning when opened from
http://home.comcast.net/~lennsam_va/test1.htm and this is what I expect,
since I'm not trying to block scripting.

I can't seem to find any IE setting that will stop the warning message when
opening from my local drive. I can right click and allow blocked content,
but it annoys me when testing stuff locally.

What am I missing?

Thanks, Sam

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body >
<script type="text/javascript">
<!--
document.write("Hello, world!")
-->
</script>
</body>
</html>
Mar 25 '06 #1
4 4457
Saml said the following on 3/24/2006 10:05 PM:
When opened in IE 6.0 SP2 from my local hard drive, the simple javascript
below gives me a warning

"To help protect your security, Internet Explored has restricted this file
from showing active content that could access your computer."
But it gives no warning when opened from
http://home.comcast.net/~lennsam_va/test1.htm and this is what I expect,
since I'm not trying to block scripting.

I can't seem to find any IE setting that will stop the warning message when
opening from my local drive. I can right click and allow blocked content,
but it annoys me when testing stuff locally.

What am I missing?


Tools>Internet Options>Advanced Tab
Security section> Allow Active Content...

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 25 '06 #2
Saml wrote:
When opened in IE 6.0 SP2 from my local hard drive, the simple
javascript below gives me a warning But it gives no warning when opened from
http://home.comcast.net/~lennsam_va/test1.htm and this is what I
expect, since I'm not trying to block scripting.


This inconvenience is working as Microsoft designed. They claim it makes
your desktop more secure. They also provide a way to break this security
inconvenience. Do a search on:
"mark of the web" and you should be able to get all the info you need.

Brett Merkey
http://web.tampabay.rr.com/bmerkey/
Mar 25 '06 #3

"Randy Webb" <Hi************@aol.com> wrote in message
news:Jr********************@comcast.com...
I'm not trying to block scripting.

I can't seem to find any IE setting that will stop the warning message
when opening from my local drive. I can right click and allow blocked
content, but it annoys me when testing stuff locally.

What am I missing?


Tools>Internet Options>Advanced Tab
Security section> Allow Active Content...

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/


Thab ks! This it: Allow active content to run in file on My Computer.

Not sure how I missed this. And I'd have thought that this was a minor
security issue. Is there something else that this open up that Microsoft
isn't spelling out? There's no help info in this section.

Sam

Mar 25 '06 #4
Saml said the following on 3/25/2006 10:57 AM:
"Randy Webb" <Hi************@aol.com> wrote in message
news:Jr********************@comcast.com...
I'm not trying to block scripting.
I can't seem to find any IE setting that will stop the warning message
when opening from my local drive. I can right click and allow blocked
content, but it annoys me when testing stuff locally.

What am I missing?

Tools>Internet Options>Advanced Tab
Security section> Allow Active Content...


Thab ks! This it: Allow active content to run in file on My Computer.

Not sure how I missed this. And I'd have thought that this was a minor
security issue. Is there something else that this open up that Microsoft
isn't spelling out? There's no help info in this section.


The security issue was ActiveX for the most part and instead of
admitting that ActiveX had a flaw and allowing you to disable it
locally, MS took the step of branding all scripts a security issue and
giving the warnings you get. Its a case of MS not admitting the truth.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 25 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: steve | last post by:
Hi, I finally figured out the best way to synch local and remote script folders, containing many php script files. What I used to do before was try to ftp all the changed files, etc. which was...
3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
4
by: Jonas | last post by:
Good day, I have a .bat script I'm invoking thru a cgi script (PERL) with (NT/IIS) on a internal network. The .bat script is having problems accessing network drives, it keeps saying "Invalid...
0
by: Carl Owenby | last post by:
Re: Microsoft Knowledge Base Article - 174942 "File Modified Outside Source Editor" Warning Message I believe I have discovered a cause of this warning in a specific situation. I encountered...
1
by: Leonid | last post by:
Hello I have VC++ .NET 2003 ATL Server project. In one of its method I need to write some information in a local txt file. This txt file and this ATL Server are on the same ‘C: \’ drive. When...
0
by: Manish | last post by:
PHP INI File Setting ------------------------------------------------------------------------------------------------------------------ error_reporting = E_ALL & ~E_NOTICE No warning message are...
0
by: John Ling | last post by:
Hello, I have been trying to install an application which requires Python: http://chip.dfci.harvard.edu/~wli/MAT/ My environment is AIX 5.2. Below is the section of the setup that has failed,...
2
by: Gregor Horvath | last post by:
Hi, I have a testservice.py (see below). I installed the Windows-Service successfully. (via commandlineoption install) The problem is that it runs only when it is in c:\windows\system32 or in...
2
by: Tony | last post by:
I'm new at this and would like to know how set up a script to copy a database from a local computer to a network at a certain time everyday. Should be simple enough, but, as of now I am unfamiliar...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.