Are Cross Domain Flash Local Shared Objects (LSO aka Flash Cookie) possible

≯℡__Kan透↙ 提交于 2019-12-08 10:56:16

问题


I found several solutions for creating Flash LSOs from JavaScript (for example: http://www.nuff-respec.com/technology/cross-browser-cookies-with-flash ) If Page (www.hostA.com/index.html) and the .swf file are from the same site, everything works fine.

No I'm trying to load the page form www.hostA.com/index.html, which includes www.hostB.com/flashcookie.swf (different sites). But then I cannot read or store the LSO.

I have tried several configurations (crossdomain.xml, Security.allowDomain("...") ), but nothing works.

Is this kind of cross domain access to a LSO possible?

Can a flash based advertisement delivered by a 3rd party save a LSO on my disc?

Thanks -stephan


回答1:


I guess it's not possible, at least at adobe docs they say you can't:

You cannot access shared objects across sandbox boundaries.




回答2:


I think most useful information is here: http://magp.ie/2010/10/15/javascript-library-to-manage-flash-local-stored-objects/



来源:https://stackoverflow.com/questions/2592458/are-cross-domain-flash-local-shared-objects-lso-aka-flash-cookie-possible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!