JavaScript Cross-Origin image Sharing on localhost! What to do? -
this question has answer here:
ok so, i've been stuck long time on this. i've read other quetions , comments haven't got further...
i working on javascript project in aptana stundio 3. when open index.html file in main folder this:
cross-origin image load denied cross-origin resource sharing policy. (using latest version of chrome)
but if open html file in folder. when run on apanta, works fine.
my project never going run on server... it's game want share other people, on localhost.
i've read things cors , stuff don't it. know have change header of file can access sources, dont know how?!
what do? not in general, in case.
hope soon.
in browsers, security settings prevent pages running file system using javascript access other files on file system. defence against attacks based around emailing html document attachment victim.
if want access other files, access of them on http.
Comments
Post a Comment