On May 8, 9:38*am, Geoff Cox <g...@freeuk.notcomwrote:
Quote:
On Thu, 8 May 2008 04:43:10 -0700 (PDT), Tom Cole <tco...@gmail.com>
wrote:
>
>
>
>
>
Quote:
On May 8, 3:55*am, Geoff Cox <g...@freeuk.notcomwrote:
>
Quote:
Quote:
I have been using Javascript to access some audio files from another
server and there has been no associated problem with IE or FF but
Opera gave an error message which led me to read that accessing files
from a "foreign" domain name is a security violation for Javascript.
>
Quote:
Quote:
This true? If yes, why do all above browsers allow it to happen?!
>
Quote:
Quote:
The reason for putting the audio files on another server was to cope
with a possible heavy demand brought about by a radio mention of this
site.
>
>
>
>
>
Quote:
How exactly do you "access" these files?
>
Tom,
>
please see my reply to Joost's email.
>
Cheers
>
geoff- Hide quoted text -
>
- Show quoted text -
That sounds like it really shouldn't be any different than creating an
img that points to some resource on another server. That is totally
legit and shouldn't really raise any concerns. I'm surprised that
Opera does.
If accessing files from another domain was restricted, there wouldn't
be much use for the internet really :).
The problem comes into play when you try to make an XMLHttpRequest to
another domain or access the DOM of a page provided from another
domain. That does not appear to be the issue here. So I wouldn't be
concerned.