Tagged articles
80 articles
Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Mar 27, 2026 · Frontend Development

Mastering CORS: In‑Depth Java Interview Guide for Cross‑Origin Solutions

This comprehensive guide explains the browser same‑origin policy, why cross‑origin restrictions exist, and walks through five major solutions—CORS, proxy servers, JSONP, postMessage, and WebSocket—detailing their principles, advantages, drawbacks, configuration examples, and best‑practice recommendations for interview scenarios.

CORSCross-OriginJava
0 likes · 16 min read
Mastering CORS: In‑Depth Java Interview Guide for Cross‑Origin Solutions
Java Architect Handbook
Java Architect Handbook
Mar 23, 2026 · Frontend Development

Mastering CORS and Cross‑Domain Solutions for Java Interviews

This guide explains the browser same‑origin policy, why cross‑origin restrictions exist, and presents five practical solutions—including CORS, proxy servers, JSONP, postMessage, and WebSocket—along with detailed configuration examples, code snippets, performance tips, and common interview follow‑up questions.

Browser SecurityCORSCross-Origin
0 likes · 13 min read
Mastering CORS and Cross‑Domain Solutions for Java Interviews
Coder Trainee
Coder Trainee
Feb 16, 2026 · Backend Development

Fixing Static Resource CORS Issues with Nginx After API CORS Is Resolved

The article explains why static assets can still trigger CORS errors even after API endpoints are configured correctly, distinguishes data‑API versus static‑resource CORS, and shows how adding an Access‑Control‑Allow‑Origin header in Nginx resolves the problem.

CORSCross-OriginNGINX
0 likes · 3 min read
Fixing Static Resource CORS Issues with Nginx After API CORS Is Resolved
JavaScript
JavaScript
Dec 30, 2025 · Frontend Development

Why document.domain Is Being Deprecated and How to Migrate Your Web Apps

This article explains the background and security concerns behind the deprecation of the JavaScript document.domain API, details browser warnings, and provides a step‑by‑step migration guide using postMessage, Channel Messaging, and proper CORS configuration to keep web applications functional.

Cross-OriginWeb Securitydeprecation
0 likes · 5 min read
Why document.domain Is Being Deprecated and How to Migrate Your Web Apps
JavaScript
JavaScript
Oct 4, 2025 · Frontend Development

Why is the document.domain API Being Deprecated and What to Use Instead?

The article explains the purpose and historical popularity of the document.domain property for cross‑subdomain communication, details its deprecation across major browsers due to security and maintenance concerns, and provides practical migration strategies using postMessage, Channel Messaging API, and proper CORS configuration.

Cross-OriginWeb Securitydeprecation
0 likes · 6 min read
Why is the document.domain API Being Deprecated and What to Use Instead?
Code Mala Tang
Code Mala Tang
Sep 13, 2025 · Information Security

Mastering CORS: How to Fix Cross-Origin Errors in Web Apps

Learn what CORS (Cross-Origin Resource Sharing) is, why browsers block cross-origin requests, and how to configure servers—using Java, Express.js, or Spring Boot—to handle preflight checks, simple requests, and fine-grained security headers, ensuring safe and functional web applications.

CORSCross-OriginHTTP
0 likes · 13 min read
Mastering CORS: How to Fix Cross-Origin Errors in Web Apps
JavaScript
JavaScript
Jul 23, 2025 · Frontend Development

Master JSONP: Build a Cross‑Domain Hack Before CORS Era

This article explains the historical background of JSONP as a clever workaround for same‑origin restrictions, walks through its core concept and dialogue, provides a complete vanilla JavaScript implementation with usage examples, and discusses its limitations compared to modern CORS solutions.

CORSCross-OriginJSONP
0 likes · 10 min read
Master JSONP: Build a Cross‑Domain Hack Before CORS Era
Cognitive Technology Team
Cognitive Technology Team
Jul 5, 2025 · Frontend Development

Why Does a POST Request Appear Twice? Unraveling CORS Preflight Mechanics

POST requests can be sent twice in cross‑origin scenarios because browsers issue a CORS preflight OPTIONS request first, and only after the server approves the request does the actual POST occur; understanding same‑origin policy, simple vs complex requests, and proper server header configuration prevents this duplication.

CORSCross-OriginPOST
0 likes · 8 min read
Why Does a POST Request Appear Twice? Unraveling CORS Preflight Mechanics
Selected Java Interview Questions
Selected Java Interview Questions
Jul 3, 2025 · Frontend Development

Understanding Same-Origin Policy and CORS: A Complete Guide

This article explains the fundamentals of the browser's same-origin policy, its security implications, how it restricts DOM, web data and network access, and provides a detailed overview of CORS, including simple requests, preflight checks, required headers, and best practices for safe cross-origin communication.

CORSCross-OriginWeb Security
0 likes · 14 min read
Understanding Same-Origin Policy and CORS: A Complete Guide
JavaScript
JavaScript
Jun 7, 2025 · Frontend Development

Why the document.domain API Is Being Deprecated and What to Use Instead

The article explains the purpose and historical popularity of the document.domain property for cross‑subdomain communication, details its deprecation across major browsers due to security and maintenance concerns, and provides practical migration strategies using postMessage, Channel Messaging API, and proper CORS configuration.

Cross-Origindocument.domainmigration
0 likes · 6 min read
Why the document.domain API Is Being Deprecated and What to Use Instead
Selected Java Interview Questions
Selected Java Interview Questions
Jun 6, 2025 · Frontend Development

How to Solve Cross-Origin Issues: CORS, JSONP, Nginx Proxy & More

This article explains why browsers enforce the Same‑Origin Policy, illustrates common CORS errors, and provides practical solutions—including CORS headers, JSONP, Nginx reverse proxy, API gateways, WebSocket, and postMessage—along with code examples and best‑practice tips for both development and production environments.

CORSCross-OriginJSONP
0 likes · 9 min read
How to Solve Cross-Origin Issues: CORS, JSONP, Nginx Proxy & More
Liangxu Linux
Liangxu Linux
May 11, 2025 · Information Security

Fixing Cross-Origin Issues with Nginx: A Practical CORS Guide

This tutorial explains the browser same‑origin policy, demonstrates a cross‑origin request failure between two servers, and shows how to configure Nginx with appropriate Access‑Control headers to enable CORS and allow the client to retrieve JSON data safely.

CORSCross-OriginSame-Origin Policy
0 likes · 5 min read
Fixing Cross-Origin Issues with Nginx: A Practical CORS Guide
Liangxu Linux
Liangxu Linux
Apr 29, 2025 · Backend Development

How to Fix Cross‑Origin Issues with Nginx: A Step‑by‑Step Guide

This article explains the browser same‑origin policy, demonstrates a CORS problem using two servers with an AJAX request, and provides a complete Nginx configuration—including add_header directives—to enable cross‑origin access and resolve the error.

CORSCross-OriginSame-Origin Policy
0 likes · 5 min read
How to Fix Cross‑Origin Issues with Nginx: A Step‑by‑Step Guide
Liangxu Linux
Liangxu Linux
Apr 28, 2025 · Backend Development

How to Fix Cross-Origin Issues with Nginx: A Step‑by‑Step Demo

This guide explains when cross‑origin problems occur, demonstrates a concrete Nginx‑based example with client‑side JavaScript, and shows how to resolve the issue by adding the appropriate Access‑Control‑Allow‑Origin and Access‑Control‑Allow‑Methods headers.

CORSCross-OriginJavaScript
0 likes · 5 min read
How to Fix Cross-Origin Issues with Nginx: A Step‑by‑Step Demo
Architecture Digest
Architecture Digest
Apr 18, 2025 · Information Security

Understanding Same-Origin Policy, CORS, and Preflight Requests

The article explains the fundamentals of the browser's same‑origin policy, the security risks it mitigates, how Cross‑Origin Resource Sharing (CORS) works—including simple and preflight requests—and best practices for handling credentials and header restrictions.

CORSCross-OriginPreflight Request
0 likes · 10 min read
Understanding Same-Origin Policy, CORS, and Preflight Requests
Java Tech Enthusiast
Java Tech Enthusiast
Apr 15, 2025 · Backend Development

Four Techniques for Handling CORS in SpringBoot Applications

The article explains what CORS is and presents four main approaches—using simple and pre‑flight request headers, configuring Nginx as a reverse proxy, adding a SpringBoot CorsConfig or CorsFilter bean, and delegating CORS to an API gateway—so developers can resolve cross‑origin issues in SpringBoot applications.

BackendCORSConfiguration
0 likes · 5 min read
Four Techniques for Handling CORS in SpringBoot Applications
Open Source Linux
Open Source Linux
Mar 11, 2025 · Frontend Development

How to Resolve CORS Issues with Nginx: A Hands‑On Demo

This guide explains the same‑origin policy, demonstrates a cross‑origin request failure between two servers, and provides step‑by‑step Nginx configuration and JavaScript code to enable CORS headers so the request succeeds.

CORSCross-OriginWeb Development
0 likes · 5 min read
How to Resolve CORS Issues with Nginx: A Hands‑On Demo
Su San Talks Tech
Su San Talks Tech
Feb 28, 2025 · Backend Development

How to Solve CORS Errors: Practical Frontend and Backend Strategies

This article explains why browsers block cross‑origin requests due to the Same‑Origin Policy, then walks through six practical solutions—including CORS headers, JSONP, Nginx reverse proxy, API gateways, WebSocket, and postMessage—providing code examples for both frontend and Spring Boot backend configurations.

CORSCross-OriginJSONP
0 likes · 9 min read
How to Solve CORS Errors: Practical Frontend and Backend Strategies
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 5, 2024 · Frontend Development

Comprehensive Guide to Using iframe in Web Frontend: Responsive Sizing, Dynamic Height, Cross‑Domain Communication, and Security

This article provides a detailed tutorial on iframe usage in web front‑end development, covering responsive sizing based on the parent window, dynamic height adjustment via postMessage, handling HTTP/HTTPS mismatches, cross‑origin issues, and security considerations such as X‑Frame‑Options.

Cross-OriginVueWeb Security
0 likes · 13 min read
Comprehensive Guide to Using iframe in Web Frontend: Responsive Sizing, Dynamic Height, Cross‑Domain Communication, and Security
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 26, 2024 · Frontend Development

Cross-Origin and Same-Origin Strategies: JSONP, CORS, Proxy, Nginx, WebSocket, postMessage, and document.domain

This article explains the concepts of cross‑origin and same‑origin policies, and demonstrates multiple solutions—including JSONP, CORS headers, proxy servers, Nginx configuration, WebSocket communication, postMessage, and document.domain—providing both front‑end and back‑end code examples for each method.

CORSCross-OriginJSONP
0 likes · 13 min read
Cross-Origin and Same-Origin Strategies: JSONP, CORS, Proxy, Nginx, WebSocket, postMessage, and document.domain
Top Architect
Top Architect
Jul 26, 2024 · Frontend Development

Understanding Same-Origin Policy and CORS: A Comprehensive Guide

This article explains the same‑origin policy, its role in browser security, how CORS enables controlled cross‑origin requests, the distinction between simple and preflight requests, credential handling, and best practices for configuring related HTTP headers.

CORSCross-OriginPreflight Request
0 likes · 16 min read
Understanding Same-Origin Policy and CORS: A Comprehensive Guide
Lobster Programming
Lobster Programming
Jul 16, 2024 · Frontend Development

Mastering CORS: 6 Practical Solutions for Frontend‑Backend Integration

This article explains why browsers enforce same‑origin policy, how cross‑origin requests affect front‑end and back‑end communication, and presents six common solutions—including JSONP, Spring @CrossOrigin, WebMvcConfigurer, CorsFilter, Nginx proxy, and other advanced techniques—complete with code examples.

BackendCORSCross-Origin
0 likes · 8 min read
Mastering CORS: 6 Practical Solutions for Frontend‑Backend Integration
vivo Internet Technology
vivo Internet Technology
Jun 5, 2024 · Frontend Development

Technical Guide to Generating Poster Images in H5 and Mini Programs

This guide explains how to generate shareable poster images entirely on the front end for H5 pages and mini‑programs, compares client‑side, front‑end, and server‑side approaches, reviews libraries such as html2canvas, dom‑to‑image, wxml‑to‑canvas and Painter, and offers solutions for design fidelity, CORS, and performance issues.

CanvasCross-OriginMini Program
0 likes · 17 min read
Technical Guide to Generating Poster Images in H5 and Mini Programs
Open Source Linux
Open Source Linux
Feb 27, 2024 · Backend Development

Mastering CORS: Fix Cross‑Origin Errors with Nginx Proxy

This guide walks through diagnosing common CORS failures, explains the four essential response headers, and provides step‑by‑step Nginx configurations—including handling preflight OPTIONS requests, custom headers, and method restrictions—to reliably resolve cross‑origin issues during development.

CORSCross-OriginWeb Development
0 likes · 13 min read
Mastering CORS: Fix Cross‑Origin Errors with Nginx Proxy
Top Architect
Top Architect
Feb 20, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy Configuration

This article explains why browsers block cross‑origin requests, details the four CORS response headers, demonstrates common error scenarios, and provides step‑by‑step Nginx configuration examples—including handling pre‑flight OPTIONS requests and header inheritance—to reliably solve CORS problems.

CORSCross-OriginHTTP
0 likes · 15 min read
Resolving CORS Issues with Nginx Proxy Configuration
AI Illustrated Series
AI Illustrated Series
Feb 9, 2024 · Information Security

Why Does a POST Sometimes Send Two Requests? A Deep Dive into CORS Preflight

This article explains why browsers may issue a duplicate POST request by exploring the same‑origin policy, the mechanics of CORS, the criteria for simple requests, the structure of preflight OPTIONS requests, credential handling, and how development tools like Webpack Dev Server bypass these restrictions.

Browser SecurityCORSCross-Origin
0 likes · 13 min read
Why Does a POST Sometimes Send Two Requests? A Deep Dive into CORS Preflight
Architect's Guide
Architect's Guide
Jan 6, 2024 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the same‑origin policy, its role in protecting web applications, how browsers enforce it through DOM, web‑data, and network restrictions, and how Cross‑Origin Resource Sharing (CORS) and preflight requests enable controlled cross‑origin communication while maintaining security.

Browser SecurityCORSCross-Origin
0 likes · 12 min read
Understanding Same-Origin Policy and CORS in Web Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 27, 2023 · Frontend Development

Resolving a Mysterious CSS CORS Issue During Frontend Migration to Cloud

This article details how a hidden cross‑origin resource sharing (CORS) problem with a single CSS file surfaced during a multi‑project frontend migration to Alibaba Cloud, explains the root cause involving CDN caching without an Origin header, and presents step‑by‑step solutions using Nginx, OSS bucket settings, and CDN configurations.

CDNCORSCross-Origin
0 likes · 19 min read
Resolving a Mysterious CSS CORS Issue During Frontend Migration to Cloud
Architect
Architect
Sep 20, 2023 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the fundamentals of the Same‑Origin Policy, its security implications, and how Cross‑Origin Resource Sharing (CORS) works—including simple requests, preflight requests, and handling credentials—to help developers safely perform cross‑domain HTTP operations in browsers.

BrowserCORSCross-Origin
0 likes · 11 min read
Understanding Same-Origin Policy and CORS in Web Development
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2023 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the same‑origin policy, its security implications for DOM, web data and network communication, and how Cross‑Origin Resource Sharing (CORS) with simple and preflight requests enables controlled cross‑domain interactions while protecting users from attacks such as XSS, CSRF, and others.

CORSCross-OriginWeb Security
0 likes · 10 min read
Understanding Same-Origin Policy and CORS in Web Development
Su San Talks Tech
Su San Talks Tech
Jul 16, 2023 · Backend Development

Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes

This article shares a hands‑on journey of solving cross‑origin issues in a multi‑domain education product, covering CORS fundamentals, simple and preflight requests, Nginx and SpringBoot configurations, response‑code choices, and Chrome’s insecure private‑network restrictions, with practical solutions and lessons learned.

BackendCORSChrome
0 likes · 18 min read
Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes
Java High-Performance Architecture
Java High-Performance Architecture
Jul 2, 2023 · Backend Development

How to Fix CORS Errors with Nginx Proxy: Step‑by‑Step Guide

This article walks through the root causes of CORS failures when a front‑end site accesses a back‑end service, explains the four essential CORS response headers, and provides detailed Nginx configurations—including handling preflight OPTIONS requests and adding missing headers—to reliably resolve cross‑origin issues.

CORSCross-OriginHTTP
0 likes · 13 min read
How to Fix CORS Errors with Nginx Proxy: Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Jun 25, 2023 · Information Security

Fix CORS Vulnerabilities in Nginx: Enforce Secure Origin Checks

This article explains why an insecure cross‑origin setup in Nginx violates security standards, demonstrates how to reproduce the vulnerability with custom Origin headers, and provides a complete Nginx configuration using a map directive to whitelist origins, add proper CORS headers, and return 403 for disallowed requests.

CORSConfigurationCross-Origin
0 likes · 3 min read
Fix CORS Vulnerabilities in Nginx: Enforce Secure Origin Checks
Programmer DD
Programmer DD
Apr 13, 2023 · Backend Development

5 Proven Ways to Enable CORS in Java Backend Applications

This guide explains the browser's same‑origin policy, defines cross‑origin requests, outlines the restrictions on non‑same‑origin resources, and presents five Java‑backend techniques—including a global CorsFilter bean, WebMvcConfigurer, @CrossOrigin annotation, manual response headers, and a custom filter—to enable CORS.

Backend DevelopmentCORSCross-Origin
0 likes · 8 min read
5 Proven Ways to Enable CORS in Java Backend Applications
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 12, 2022 · Backend Development

Mastering CORS in Spring MVC: Practical Configurations & Annotations

Spring MVC provides built‑in CORS support, allowing you to configure preflight, simple, and actual requests via global HandlerMapping settings, @CrossOrigin annotations, Java‑based CorsRegistry, or CorsFilter, with detailed options for origins, headers, methods, credentials, and max‑age to secure cross‑origin interactions.

Backend DevelopmentCORSCross-Origin
0 likes · 8 min read
Mastering CORS in Spring MVC: Practical Configurations & Annotations
Java Architect Essentials
Java Architect Essentials
Nov 17, 2022 · Backend Development

Handling Cross-Origin Issues with Spring Cloud Gateway and HttpClient in Java

This article explains why browsers enforce same‑origin policies, presents common CORS solutions such as the @CrossOrigin annotation, HttpClient usage, and Spring Cloud Gateway integration, and provides detailed code examples for configuring gateways, CORS filters, and making HTTP requests in Java backend projects.

CORSCross-OriginHttpClient
0 likes · 14 min read
Handling Cross-Origin Issues with Spring Cloud Gateway and HttpClient in Java
Java Architect Essentials
Java Architect Essentials
Sep 12, 2022 · Backend Development

Implementing CORS Cross‑Origin Requests in Java Backend (Spring Boot)

This article explains why browsers enforce the Same‑Origin Policy, defines cross‑origin requests, lists the restrictions of non‑same‑origin access, and provides five practical ways—global filter, WebMvcConfigurer, @CrossOrigin annotation, manual header setting, and a custom filter—to enable CORS in Java Spring Boot applications, complete with code examples.

CORSCross-OriginSpring Boot
0 likes · 9 min read
Implementing CORS Cross‑Origin Requests in Java Backend (Spring Boot)
DaTaobao Tech
DaTaobao Tech
Aug 25, 2022 · Frontend Development

Understanding and Handling Script Error in Web Development

The article explains that browsers mask cross‑origin script failures as generic “Script error” due to the same‑origin policy, outlines the proper fix of adding the crossorigin attribute and Access‑Control‑Allow‑Origin header, critiques ad‑hoc proxy or try‑catch workarounds, and recommends systematic measures such as CSP Report‑Only, monitoring tools, and proper script whitelisting.

CSPCross-OriginFront-end debugging
0 likes · 7 min read
Understanding and Handling Script Error in Web Development
Programmer DD
Programmer DD
Aug 11, 2022 · Backend Development

Mastering CORS in Java: 5 Ways to Enable Cross-Origin Requests

This article explains why browsers enforce same‑origin policies, defines cross‑origin requests, outlines the restrictions on non‑same‑origin resources, and presents five practical Java backend solutions—including a global CorsFilter, WebMvcConfigurer, @CrossOrigin annotation, manual response headers, and a custom filter—complete with code examples.

CORSCross-OriginJava
0 likes · 7 min read
Mastering CORS in Java: 5 Ways to Enable Cross-Origin Requests
Selected Java Interview Questions
Selected Java Interview Questions
May 16, 2022 · Backend Development

Implementing CORS Cross-Origin Requests in Java Backend

This article explains the origin of CORS issues caused by the browser's Same‑Origin Policy, describes what constitutes a cross‑origin request, outlines the restrictions of non‑same‑origin resources, and provides five Java‑based solutions—including a global CorsFilter bean, WebMvcConfigurer override, @CrossOrigin annotation, manual response‑header setting, and a custom filter—to enable cross‑origin access.

CORSCross-OriginSpringBoot
0 likes · 7 min read
Implementing CORS Cross-Origin Requests in Java Backend
vivo Internet Technology
vivo Internet Technology
May 11, 2022 · Information Security

Investigation and Resolution of Cross-Origin Errors Caused by WAF XSS Filtering in a Front‑End/Back‑End Separated System

The article recounts a real‑world incident where a JSON POST from a front‑end domain triggered a cross‑origin 418 error because a Web Application Firewall’s XSS filter mistakenly blocked a JavaScript validator field, and after the security team modified the WAF rules the issue was resolved, highlighting systematic debugging and deep knowledge of DNS, Nginx, ingress, Tomcat and WAF layers.

CORSCross-OriginDebugging
0 likes · 12 min read
Investigation and Resolution of Cross-Origin Errors Caused by WAF XSS Filtering in a Front‑End/Back‑End Separated System
Architecture Digest
Architecture Digest
Apr 29, 2022 · Frontend Development

Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Guide

This article walks through the root causes of CORS errors, explains the four essential response headers, demonstrates how to test with Postman, and provides a series of Nginx configuration examples that progressively fix preflight, header, method, and credential problems for a local development environment.

CORSCross-OriginProxy
0 likes · 14 min read
Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Guide
Laravel Tech Community
Laravel Tech Community
Apr 26, 2022 · Frontend Development

Understanding Cross-Origin Requests and PHP Solutions for CORS

This article explains what cross‑origin (CORS) is, how the browser's same‑origin policy restricts scripts, lists allowed tags, describes common cross‑origin scenarios, and provides practical PHP header code, proxy techniques, and Nginx reverse‑proxy configurations to resolve CORS issues.

CORSCross-OriginPHP
0 likes · 8 min read
Understanding Cross-Origin Requests and PHP Solutions for CORS
Practical DevOps Architecture
Practical DevOps Architecture
Apr 14, 2022 · Backend Development

Understanding and Solving Cross-Origin Issues with Nginx add_header Configuration

This article explains when cross‑origin problems occur due to the browser's same‑origin policy, describes the restrictions it imposes, and provides detailed Nginx add_header configurations—including specific and global examples—to enable Access‑Control‑Allow‑Origin and Access‑Control‑Allow‑Methods headers for CORS resolution.

CORSCross-OriginNGINX
0 likes · 4 min read
Understanding and Solving Cross-Origin Issues with Nginx add_header Configuration
JD Retail Technology
JD Retail Technology
Mar 21, 2022 · Frontend Development

Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development

This article explains the fundamentals of cross‑origin restrictions, cookies, and same‑origin policy for frontend developers, demonstrates common CORS errors with sample code, and presents practical solutions—including iframe/postMessage, JSONP, WebSocket, and CORS configurations on servers such as Node.js and Nginx—to enable secure and reliable cross‑domain communication.

CORSCross-OriginJSONP
0 likes · 21 min read
Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development
Programmer DD
Programmer DD
Nov 8, 2021 · Frontend Development

Mastering Cross-Origin: From JSONP to CORS and Beyond

This article explains the browser's same‑origin policy, why cross‑origin requests are blocked, and walks through practical solutions—including JSONP, CORS with simple and preflight requests, PostMessage, WebSocket, Nginx reverse proxy, Node middleware proxy, and document.domain—so developers can choose the right technique for their needs.

CORSCross-OriginJSONP
0 likes · 16 min read
Mastering Cross-Origin: From JSONP to CORS and Beyond
Tencent Cloud Developer
Tencent Cloud Developer
Oct 9, 2021 · Frontend Development

Cross-Origin Issues and Solutions in Web Development

The article explains cross‑origin restrictions in web development, distinguishes broad and narrow cross‑origin, outlines common scenarios, and compares solutions such as JSONP, CORS, Flash, server proxies, and front‑end techniques like document.domain, hash, window.name, and postMessage, highlighting each method’s pros and cons.

CORSCross-OriginJSONP
0 likes · 20 min read
Cross-Origin Issues and Solutions in Web Development
Top Architect
Top Architect
May 11, 2021 · Backend Development

Implementing CORS Cross‑Origin Requests in Java Backend (Spring MVC)

This article explains why browsers enforce same‑origin restrictions, defines cross‑origin requests, lists the limitations of non‑same‑origin interactions, and presents five practical Java backend solutions—including a global CorsFilter bean, WebMvcConfigurer override, @CrossOrigin annotation, manual response headers, and a custom filter—complete with code examples.

CORSCross-OriginJava
0 likes · 7 min read
Implementing CORS Cross‑Origin Requests in Java Backend (Spring MVC)
Code Ape Tech Column
Code Ape Tech Column
May 10, 2021 · Backend Development

Mastering CORS in Spring: 5 Ways to Enable Cross‑Origin Requests

This article explains why browsers enforce the same‑origin policy, defines cross‑origin requests, outlines the restrictions of non‑same‑origin interactions, and presents five practical methods—including a global CorsFilter, WebMvcConfigurer, @CrossOrigin annotation, manual header setting, and a custom filter—to implement CORS in Java Spring backends.

BackendCORSCross-Origin
0 likes · 8 min read
Mastering CORS in Spring: 5 Ways to Enable Cross‑Origin Requests
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 20, 2021 · Backend Development

Enabling CORS in SpringBoot Applications

This article explains what CORS is, shows the typical browser error caused by missing CORS headers, and provides step‑by‑step SpringBoot configuration and filter code to enable cross‑origin requests and control filter execution order for reliable backend support.

BackendCORSCross-Origin
0 likes · 5 min read
Enabling CORS in SpringBoot Applications
macrozheng
macrozheng
Jan 14, 2021 · Backend Development

Mastering CORS in Spring Boot: Simple Configurations to Eliminate Cross‑Origin Errors

This article explains the Same Origin Policy, introduces the CORS standard, details simple and preflight request handling, lists essential response headers, and provides three practical Spring Boot solutions—including global configuration, a servlet filter, and the @CrossOrigin annotation—to resolve cross‑origin issues.

BackendCORSCross-Origin
0 likes · 10 min read
Mastering CORS in Spring Boot: Simple Configurations to Eliminate Cross‑Origin Errors
IT Xianyu
IT Xianyu
Jan 7, 2021 · Information Security

Understanding Same-Origin Policy and Solving CORS Issues in Spring Boot

This article explains the Same-Origin Policy, its security purpose and restrictions, introduces CORS as a solution for cross‑origin AJAX requests, and provides three practical ways—annotation, filter, and WebMvcConfigurerAdapter—to enable CORS in a Spring Boot application.

CORSCross-OriginJava
0 likes · 6 min read
Understanding Same-Origin Policy and Solving CORS Issues in Spring Boot
Programmer DD
Programmer DD
Dec 6, 2019 · Backend Development

Mastering Cross-Origin Requests in Spring: JSONP and CORS Solutions

This article explains the concept of cross-origin, why it occurs in modern web architectures, and provides practical Spring‑based solutions using JSONP and CORS together with jQuery AJAX examples, complete with configuration snippets and code samples.

BackendCORSCross-Origin
0 likes · 6 min read
Mastering Cross-Origin Requests in Spring: JSONP and CORS Solutions
MaoDou Frontend Team
MaoDou Frontend Team
Aug 26, 2019 · Frontend Development

4 Effective Ways to Solve Cross-Origin Issues in Local Development

This article explains what cross‑origin requests are and presents four practical solutions—webpack proxyTable, SwitchHosts, Uuaper, and Nginx—detailing configuration steps, common pitfalls, and code examples to help developers overcome CORS problems during local development.

CORSCross-OriginDevelopment
0 likes · 5 min read
4 Effective Ways to Solve Cross-Origin Issues in Local Development
Java Captain
Java Captain
Mar 24, 2019 · Fundamentals

Networking Fundamentals: HTTP Status Codes, Redirect vs Forward, TCP/UDP Differences, OSI Model, GET vs POST, and Cross‑Origin Techniques

This article explains key networking concepts including the meaning and differences of HTTP 301/302 status codes, forward versus redirect mechanisms, TCP versus UDP characteristics, the TCP three‑way handshake, OSI layers, GET versus POST request distinctions, and multiple cross‑origin solutions such as JSONP, CORS, window.name, postMessage, and proxies.

Cross-OriginHTTPNetworking
0 likes · 14 min read
Networking Fundamentals: HTTP Status Codes, Redirect vs Forward, TCP/UDP Differences, OSI Model, GET vs POST, and Cross‑Origin Techniques
Node Underground
Node Underground
Dec 23, 2018 · Information Security

Stop Phishing via target=_blank: Secure Links with rel=noopener & noreferrer

This article explains how using target="_blank" on links can expose pages to phishing attacks via the opener object, compares same‑origin and cross‑origin behaviors, and provides practical mitigation techniques such as Referrer‑Policy, rel="noreferrer" and rel="noopener" with fallback JavaScript.

Cross-OriginWeb Securityopener
0 likes · 9 min read
Stop Phishing via target=_blank: Secure Links with rel=noopener & noreferrer
Qunar Tech Salon
Qunar Tech Salon
Sep 28, 2018 · Backend Development

Comprehensive Guide to Solving Cross-Origin Issues in Java Web Applications

This article explains the principles of cross-origin restrictions, analyzes various client‑side and server‑side solutions such as disabling browser security, using script tags, JSONP, and especially CORS with Spring Boot filters, annotations, and proxy configurations, providing complete code examples and practical deployment tips.

CORSCross-OriginJSONP
0 likes · 15 min read
Comprehensive Guide to Solving Cross-Origin Issues in Java Web Applications
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 10, 2018 · Frontend Development

Mastering CORS: How to Fix Cross‑Origin Errors in Your Web Apps

This article explains what CORS is, why browsers enforce same‑origin policies, details the essential HTTP headers involved, and offers practical solutions—including server‑side configuration, temporary browser work‑arounds, and proxy setups—to resolve cross‑origin request errors.

CORSCross-OriginWeb Security
0 likes · 7 min read
Mastering CORS: How to Fix Cross‑Origin Errors in Your Web Apps
360 Quality & Efficiency
360 Quality & Efficiency
Jan 22, 2018 · Information Security

High‑Risk Android WebView Cross‑Origin Access Vulnerability – Description, Impact, Detection, and Mitigation

A security bulletin released on January 9 2018 details a critical Android WebView cross‑origin vulnerability that can expose user privacy data and credentials, outlines its widespread impact on many apps, and provides detection tools and concrete remediation steps for developers.

AndroidCross-OriginMitigation
0 likes · 4 min read
High‑Risk Android WebView Cross‑Origin Access Vulnerability – Description, Impact, Detection, and Mitigation
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 30, 2017 · Frontend Development

Mastering AJAX Cross‑Domain: From CORS to JSONP and Proxy Solutions

This article thoroughly explains AJAX cross‑domain issues, covering the underlying same‑origin policy, CORS and JSONP mechanisms, common error manifestations, step‑by‑step backend configurations for PHP, Node.js, Java, .NET, and proxy techniques, plus practical debugging methods using Chrome DevTools.

Cross-OriginDebuggingJSONP
0 likes · 14 min read
Mastering AJAX Cross‑Domain: From CORS to JSONP and Proxy Solutions
21CTO
21CTO
Oct 14, 2017 · Frontend Development

Mastering Cross‑Origin Requests: From AJAX to JSONP and CORS

This tutorial explains the concept of cross‑origin requests, demonstrates practical AJAX calls between two Node.js servers on different ports, and walks through three major solutions—standard AJAX, JSONP, and CORS—while also covering alternative techniques like window.name and postMessage.

CORSCross-OriginJSONP
0 likes · 12 min read
Mastering Cross‑Origin Requests: From AJAX to JSONP and CORS
Qunar Tech Salon
Qunar Tech Salon
Jun 7, 2017 · Frontend Development

Cross‑Origin Communication Techniques: JSONP, window.name, document.domain, CORS, postMessage, and WebSocket with Code Samples

This article demonstrates several cross‑origin communication methods—including JSONP, window.name, document.domain, CORS, postMessage, and WebSocket—by providing step‑by‑step code examples, host file configuration, and instructions for testing each technique in a local environment development.

CORSCross-OriginJSONP
0 likes · 12 min read
Cross‑Origin Communication Techniques: JSONP, window.name, document.domain, CORS, postMessage, and WebSocket with Code Samples
Qunar Tech Salon
Qunar Tech Salon
Jun 6, 2017 · Information Security

Same‑Origin Policy and Cross‑Origin Techniques in Web Development

This article explains the fundamentals of the browser same‑origin policy, defines what constitutes an origin, describes the restrictions it imposes, and surveys practical cross‑origin solutions such as dynamic tags, JSONP, CORS, postMessage, document.domain, window.name, fetch, and WebSocket.

CORSCross-OriginWeb Security
0 likes · 15 min read
Same‑Origin Policy and Cross‑Origin Techniques in Web Development
JavaScript
JavaScript
Nov 8, 2016 · Frontend Development

Mastering Cross-Origin Techniques: JSONP, img Ping, window.name, postMessage & CORS

Explore multiple cross-origin communication methods—including same-origin rules, JSONP, img ping, window.name, postMessage, and CORS—by understanding their principles, code examples, and server requirements, enabling developers to safely exchange data across different domains in web applications.

CORSCross-OriginJSONP
0 likes · 8 min read
Mastering Cross-Origin Techniques: JSONP, img Ping, window.name, postMessage & CORS
Architect
Architect
Aug 31, 2015 · Frontend Development

Comprehensive JavaScript Cross‑Domain Guide with Demo

This article offers a thorough, demo‑driven tutorial on JavaScript cross‑origin techniques—including JSONP, document.domain, window.name, and HTML5 postMessage—explaining their principles, usage conditions, and code examples for practical implementation.

Cross-OriginJSONPdocument.domain
0 likes · 9 min read
Comprehensive JavaScript Cross‑Domain Guide with Demo