Tag

Cross-Origin

1 views collected around this technical thread.

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
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 14, 2025 · Backend Development

Handling CORS in Spring Boot and Vue3: Concepts, Code, and Demo

This article explains the concept of Cross‑Origin Resource Sharing (CORS), demonstrates how to identify cross‑origin requests, and provides a complete Spring Boot backend configuration together with Vue3/Axios frontend code to solve CORS issues in a full‑stack web application.

AxiosCORSCross-Origin
0 likes · 9 min read
Handling CORS in Spring Boot and Vue3: Concepts, Code, and 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-OriginSame-Origin Policy
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
Go Programming World
Go Programming World
Nov 19, 2024 · Backend Development

Understanding and Implementing CORS (Cross‑Origin Resource Sharing) in Go

This article explains the browser same‑origin policy, defines cross‑origin requests, details the CORS mechanism—including simple and non‑simple requests and their required HTTP headers—and provides practical Go examples using Gin middleware and Kubernetes to solve CORS issues.

BackendCORSCross-Origin
0 likes · 27 min read
Understanding and Implementing CORS (Cross‑Origin Resource Sharing) in Go
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-OriginNginxResponsive Design
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
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 29, 2024 · Backend Development

Master JSONP in Spring Boot: From Basics to Custom ResponseBodyAdvice

This article explains the JSONP technique, demonstrates how to implement it in Spring Boot with a simple REST endpoint, custom JSONP wrapper, ResponseBodyAdvice, and a customized HttpMessageConverter, and shows how to test the solution using HTML script tags.

Cross-OriginHttpMessageConverterJSONP
0 likes · 9 min read
Master JSONP in Spring Boot: From Basics to Custom ResponseBodyAdvice
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-OriginSame-Origin Policy
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
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 7, 2024 · Frontend Development

Mastering CORS in Spring Boot: From Basics to Full Implementation

Learn how Cross-Origin Resource Sharing (CORS) works, when it’s needed, the role of preflight requests, essential HTTP headers, and step-by-step Spring Boot solutions—including @CrossOrigin annotations, global configuration, and custom filters—to securely enable cross-domain calls in your applications.

CORSCross-OriginJava
0 likes · 11 min read
Mastering CORS in Spring Boot: From Basics to Full Implementation
Efficient Ops
Efficient Ops
Feb 28, 2024 · Backend Development

Mastering CORS: Step-by-Step Nginx Proxy Solutions for Common Errors

This guide walks through diagnosing and fixing typical CORS problems by configuring Nginx as a proxy, explaining the four essential response headers, handling preflight requests, and providing complete server blocks for various error scenarios.

BackendCORSCross-Origin
0 likes · 15 min read
Mastering CORS: Step-by-Step Nginx Proxy Solutions for Common Errors
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
Java Architect Essentials
Java Architect Essentials
Feb 4, 2024 · Information Security

Understanding Same-Origin Policy and CORS: Fundamentals, Request Flow, and Security Implications

This article explains the same‑origin policy, its role in restricting DOM, data, and network access, introduces Cross‑Origin Resource Sharing (CORS) with simple and preflight requests, and outlines how servers should configure headers to safely enable cross‑origin communication.

CORSCross-OriginHTTP
0 likes · 11 min read
Understanding Same-Origin Policy and CORS: Fundamentals, Request Flow, and Security Implications
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.

CORSCross-OriginHTTP
0 likes · 12 min read
Understanding Same-Origin Policy and CORS in Web Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 1, 2023 · Frontend Development

Using Nginx to Proxy Frontend Static Resources and Resolve Cross-Origin Issues

This article explains how front‑end projects access back‑end services after deployment, how Nginx reverse‑proxy solves cross‑origin problems, and how to configure production paths in Vue projects for proper static resource delivery.

Cross-OriginDeploymentNginx
0 likes · 8 min read
Using Nginx to Proxy Frontend Static Resources and Resolve Cross-Origin Issues
Top Architect
Top Architect
Oct 16, 2023 · Information Security

Understanding Same‑Origin Policy and CORS: Security Strategies for Web Applications

This article explains the fundamentals of the browser Same‑Origin Policy, the security risks it mitigates, and how Cross‑Origin Resource Sharing (CORS) with simple and preflight requests enables controlled cross‑domain communication while protecting user data.

CORSCross-OriginSame-Origin Policy
0 likes · 15 min read
Understanding Same‑Origin Policy and CORS: Security Strategies for Web Applications
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