Where to disable cross-network protection in Opera?

余生长醉 提交于 2019-11-30 05:36:28

问题


In JS security issue with Opera 11.01, after moving from server A to B I learned that opera has some "cross-network" protection.

I encountered the same js security problem and I found that Opera 11.10 (“Barracuda”) added a preference to disable cross-network protection. My Opera is 11.50 but I can't find the specific preference.

Do I misunderstand the meaning of the "cross-network"?

Thanks a lot.


回答1:


I believe opera:config#Network|AllowCrossNetworkNavigation is the right preference.




回答2:


Nowadays Opera is based on chromium, so you shoud use chromium way to disable SOP and process requests without CORS headers:

cd c:\Program Files\Opera\
launcher.exe --disable-web-security --user-data-dir="c:\nocorsbrowserdata"

Of course like in chromium, to make this work you should kill all your instances of opera.exe before starting with --disable-web-security flag. If you want more details how to automate this, see tip on my website




回答3:


Disabling it entirely has security implications though - see this: Opera won't load some JavaScript files for a safer workaround :)



来源:https://stackoverflow.com/questions/7543678/where-to-disable-cross-network-protection-in-opera

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