There are five ways to protect against cross-searching:
- CORS headers are perfect, but you need third-party server collaboration.
- JSONP is not suitable for streaming content, and you usually require third-party server collaboration.
- IFrames and inter-window communication may not be suitable for streaming content, and you need third-party server collaboration.
- Disabling browser protection - you must launch the browser in custom mode, and you should not use this browser for anything else.
- Server proxy is a relatively slow but often the only option
source share