Microsoft KB Archive/175506: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 44: Line 44:
== SYMPTOMS ==
== SYMPTOMS ==


Calling window.external.isSubscribed() from a script results in a "Permission Denied" error.
Calling window.external.isSubscribed() from a script results in a "Permission Denied" error.


</div>
</div>
Line 67: Line 67:
The window.external.isSubscribed() method does not refer to the document.domain property. However, window.external.isSubscribed() will correctly determine whether the requested URL is in the same second level domain as the current document.<br />
The window.external.isSubscribed() method does not refer to the document.domain property. However, window.external.isSubscribed() will correctly determine whether the requested URL is in the same second level domain as the current document.<br />
<br />
<br />
Two servers inside the same intranet are likely to be affected by this. A document at &quot;http://server1&quot; cannot check for a subscription to &quot;http://server2&quot; even if the two servers are on the same local network.
Two servers inside the same intranet are likely to be affected by this. A document at "http://server1" cannot check for a subscription to "http://server2" even if the two servers are on the same local network.


</div>
</div>
Line 77: Line 77:
<div class="indent">
<div class="indent">


[[../167796|167796]] PRB: &quot;Permission Denied&quot; When Scripting Across Frames
[[../167796|167796]] PRB: "Permission Denied" When Scripting Across Frames





Latest revision as of 11:07, 21 July 2020

Knowledge Base


Article ID: 175506

Article Last Modified on 10/2/2003



APPLIES TO

  • Microsoft Internet Explorer 4.0 128-Bit Edition



This article was previously published under Q175506

SYMPTOMS

Calling window.external.isSubscribed() from a script results in a "Permission Denied" error.

CAUSE

This is a side effect of Internet Explorer 4.0's cross-frame security feature where a script running in a document cannot access the unsafe properties or methods of another document which is hosted on a different domain.

STATUS

This behavior is by design.

MORE INFORMATION

The window.external.isSubscribed() method does not refer to the document.domain property. However, window.external.isSubscribed() will correctly determine whether the requested URL is in the same second level domain as the current document.

Two servers inside the same intranet are likely to be affected by this. A document at "http://server1" cannot check for a subscription to "http://server2" even if the two servers are on the same local network.

REFERENCES

For additional information on cross-frame security in Internet Explorer 4.0, please see the following article in the Microsoft Knowledge Base:

167796 PRB: "Permission Denied" When Scripting Across Frames




Keywords: kberrmsg kbprb KB175506