?
Solved

IE 8 security

Posted on 2010-09-23
5
Medium Priority
?
916 Views
Last Modified: 2013-12-08
<script type="text/javascript" language="javascript"  src="file://D:\DevJava\FireFox\javascript\base_empty.js" ></SCRIPT>
IE8 won't allow loading local file execution when running from //localhost

IE 7 allowed adding "My computer" in zone 0; however IE 8 doesn't.  hence I need to know how to set the security.   I did add //localhost to trusted site; but, that doesn't fix it in IE8
0
Comment
Question by:intellias_net
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 5

Accepted Solution

by:
kawzaki earned 400 total points
ID: 33751093
why not change the src to be relative to your html file it self ?

or if you have a local server (iis or apache) , use a local server link
http://localhost/foldername/page.html


anyhow, for per use,
If Internet Explorer restricts active content that you are sure you want to allow, click the Information bar, and then click Allow blocked content.


for permanent use,
add your site to trusted websites.

steps:

 To add a website to a security zone
Click to open Internet Explorer.

Navigate to the website that you want to add to a specific security zone.

Click the Tools button, and then click Internet Options.

Click the Security tab, and then click a security zone (Local intranet, Trusted sites, or Restricted sites).

Click Sites.

If you clicked Local intranet in step 4, click Advanced.

The website should be shown in the Add this website to the zone field. Click Add.

If the site is not a secure site (HTTPS), clear the Require server verification (https:) for all sites in this zone check box.

Click Close, and then click OK (or click OK twice if you clicked Local intranet in step 4).
0
 
LVL 40

Assisted Solution

by:Gurvinder Pal Singh
Gurvinder Pal Singh earned 400 total points
ID: 33751094
this path <<file://D:\DevJava\FireFox\javascript\base_empty.js>> is not from localhost, but from a location on system where the browser is running.

I dont think that browser can pick up the files from local machine, if the current domain is localhost or other wise. Means that if the web-page is being served by application server (remote or local) browser may not allow the file to be picked up from local system.


0
 

Author Comment

by:intellias_net
ID: 33756038
I'm running the application in local mode to debug it by selection of 'view in browser' mode from VS2008.    Although all applicaions are on drive D: along with include js files; howvere, the javascript source file are in one sub folder below the application test files,  I'm sure i could go 'relative' if the javascript files were above the test file sub folder; however, i've organized these test case in separate subfolders and having many copies of the source file would make maintennace a nightmare.  

This used to work in Win XP by setting the proper security.  

I'm sure using shortcuts to the javascript files won't work.

any suggestions would be helpful
0
 

Author Comment

by:intellias_net
ID: 33757679
it wasn't IE security anyway.
I didn't have "display script errors turned on' so the js file wouldn't load.
0
 

Author Closing Comment

by:intellias_net
ID: 33757701
Gave me pause to investigate other approach.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question