AumHa Forums

Supporting Users of Windows Desktop Systems
It is currently Fri 11/20/09 03:29 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Active content blocked while opening webpages (HTML) locally
PostPosted: Sat 9/11/04 10:26 am 
Offline
AH-VSOP & MS-MVP
AH-VSOP & MS-MVP
User avatar

Joined: Mon 11/3/03 07:18 am
Posts: 1620
Location: Chennai
A FAQ in Internet Explorer 6 Newsgroup

Due to Local Machine Lockdown in XP SP2, when you view a Web page locally, scripts and ActiveX controls are blocked by default. If you are certain that you want to allow the Web page to run ActiveX controls or scripts, click Yes in the message box. By clicking Yes, you allow the active content to run on the Web page youre viewing, but only on that occasion.

Workaround (Extracted from SP2 Developer Implications page)

Rename the .HTM file to .HTA (Example.. Index.HTM to Index.HTA and test the file locally). HTA files have more privileges than the HTM files, can run active content on Local Machine by default.

-or-

Open the HTM file in Notepad or any other editor and add the line <!-- saved from url=(0023)http://www.contoso.com/ --> to it, where the (0023) value is the string length of your URL that follows it and Contoso is the name of your Web site. This runs the local HTM file in Internet Zone or whatever zone contoso.com is assigned to, thus allowing the active content to run

More Information - Local Machine Zone Lockdown - Developer Implications:
http://msdn.microsoft.com/security/prod ... evimp.aspx

To totally disable the Local Machine Zone restriction (to enable IE to run Active Content locally) (not recommended, though) for valid reasons, read below:

In Internet Explorer, on the Tools menu, click Internet Options. On the Advanced tab, scroll down to the Security section of the list. Select the Allow active content to run in files on My Computer check box, and then click OK. This option is a per-user setting and it's advisable to use this as a last resort.

_________________
Ramesh Srinivasan, Microsoft MVP - Desktop Systems
Windows 7, Vista and XP Troubleshooting & Support


Top
 Profile  
 
 Post subject:
PostPosted: Mon 9/13/04 11:24 pm 
Offline
Diamond Member
Diamond Member
User avatar

Joined: Sun 7/18/04 03:49 pm
Posts: 963
Location: The Immeasurable Region
[Little Richard]

_________________
Administrative acknowledgement.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group