|
Posted by Dylan Parry on 01/17/07 09:09
Santel wrote:
> Only when I place the txt file inside my application directory, it
> works. Is this not possible to give cross-domain src in frames?
Completely possible, but in your case you were referencing a file on
your local system via an absolute URL (ie. c:\), and due to security
settings in your browser you aren't able to do this. Otherwise any
website could load the contents of any file on your system into an
iframe, access it with Javascript and send the contents on to a
malicious website. This would be a bad thing!
--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk
Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Navigation:
[Reply to this message]
|