Tag

Preflight

0 views collected around this technical thread.

Top Architect
Top Architect
May 21, 2025 · Frontend Development

Understanding Same‑Origin Policy and CORS in Web Development

This article explains the browser's same‑origin policy, its role in preventing XSS, CSRF and other attacks, details the protocol, host and port rules, illustrates with examples, and then describes CORS, simple and preflight requests, credential handling, and provides a complete request flow diagram.

CORSHTTPPreflight
0 likes · 17 min read
Understanding Same‑Origin Policy and CORS in Web Development
Top Architect
Top Architect
Nov 26, 2024 · Information Security

Understanding Same-Origin Policy and CORS: Core Concepts, Simple Requests, and Preflight Mechanics

This article explains the same‑origin policy, its role in protecting browsers from XSS, CSRF and other attacks, illustrates how origins are defined with protocol, host and port, and details how CORS, simple requests and preflight requests enable controlled cross‑origin communication.

CORSCross-Origin RequestsPreflight
0 likes · 15 min read
Understanding Same-Origin Policy and CORS: Core Concepts, Simple Requests, and Preflight Mechanics
Top Architect
Top Architect
Sep 29, 2024 · Frontend Development

Understanding Same‑Origin Policy and CORS in Frontend Development

This article explains the fundamentals of the same‑origin policy, the security risks it mitigates, and how CORS and preflight requests work in browsers, illustrating the concepts with diagrams, header details, and a complete request flow chart.

CORSHTTPPreflight
0 likes · 16 min read
Understanding Same‑Origin Policy and CORS in Frontend Development
Architect's Guide
Architect's Guide
Jul 6, 2024 · Operations

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

This article explains how to diagnose and fix common CORS problems when a front‑end site on port 8080 accesses a back‑end service on port 59200 by configuring Nginx as a proxy, detailing the required response headers, handling preflight requests, and providing complete example configurations.

CORSNginxPreflight
0 likes · 13 min read
Resolving CORS Issues with Nginx Proxy Configuration: A Step‑by‑Step Guide
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-OriginNginx
0 likes · 14 min read
Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Guide
IT Services Circle
IT Services Circle
Apr 16, 2022 · Frontend Development

Understanding CORS: When Cross‑Origin Requests Are Executed, Intercepted, and Preflighted

This article explains the mechanics of CORS, detailing how browsers decide whether a cross‑origin request is executed directly, blocked, or preceded by a preflight OPTIONS request, and distinguishes between simple and complex requests based on method, headers, and other criteria.

CORSCross-OriginPreflight
0 likes · 8 min read
Understanding CORS: When Cross‑Origin Requests Are Executed, Intercepted, and Preflighted
360 Tech Engineering
360 Tech Engineering
Sep 9, 2019 · Frontend Development

Understanding Simple and Preflight Requests in CORS

The article explains why CORS distinguishes between simple requests—limited to GET, HEAD, POST with specific headers and content types—and preflighted requests, describing the server‑side rationale, the mechanics of preflight, and why avoiding preflight for simple requests simplifies cross‑origin interactions.

CORSHTTPPreflight
0 likes · 6 min read
Understanding Simple and Preflight Requests in CORS