Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8498

Re: FAQ Topic - Why do I get permission denied when accessing a frame/window? (2011-11-19)

From Dr J R Stockton <reply1146@merlyn.demon.co.uk>
Newsgroups comp.lang.javascript
Subject Re: FAQ Topic - Why do I get permission denied when accessing a frame/window? (2011-11-19)
Date 2011-11-20 20:11 +0000
Organization Home
Message-ID <9kvgApOP8VyOFwGK@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <4ec6f18d$0$293$14726298@news.sunsite.dk>

Show all headers | View raw


In comp.lang.javascript message <4ec6f18d$0$293$14726298@news.sunsite.dk
>, Sat, 19 Nov 2011 00:00:03, FAQ server <javascript@dotinternet.be>
posted:

>In the normal browser security model, a script may only access the
>properties of documents served from the same domain or IP address,
>protocol, and port.
>
>Any attempt to access a property in such cases will result in a "Permission
>Denied" error. Signed scripts or trusted ActiveX objects can
>overcome this in limited situations.

<FAQENTRY>

The second paragraph makes no sense, since "such cases" can only refer
to the cases of the previous paragraph, which are the cases in which it
CAN be done.

However, the FAQ should also be saying that Chrome does not allow such
access by a local page to other local material.  Versions before 5.0 did
allow it.

-- 
 (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk  Turnpike 6.05  WinXP.
 Web  <http://www.merlyn.demon.co.uk/> - FAQ-type topics, acronyms, and links.
 Command-prompt MiniTrue is useful for viewing/searching/altering files. Free,
 DOS/Win/UNIX now 2.0.6; see <URL:http://www.merlyn.demon.co.uk/pc-links.htm>.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

FAQ Topic - Why do I get permission denied when accessing a frame/window? (2011-11-19) "FAQ server" <javascript@dotinternet.be> - 2011-11-19 00:00 +0000
  Re: FAQ Topic - Why do I get permission denied when accessing a frame/window? (2011-11-19) Dr J R Stockton <reply1146@merlyn.demon.co.uk> - 2011-11-20 20:11 +0000

csiph-web