Tag

Same-Origin Policy

1 views collected around this technical thread.

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
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
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
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-OriginSame-Origin Policy
0 likes · 11 min read
Understanding Same-Origin Policy and CORS: Fundamentals, Request Flow, and Security Implications
Java Tech Enthusiast
Java Tech Enthusiast
Jan 10, 2024 · Information Security

Cross-Origin Resource Sharing (CORS) and Same-Origin Policy Explained

Cross-Origin Resource Sharing (CORS) extends the Same-Origin Policy by permitting controlled cross‑origin requests through simple and preflight flows, using specific headers and credential rules, thereby balancing web security against threats like XSS, CSRF, and injection attacks while enabling safe resource sharing.

CORBCORSCross-Origin Requests
0 likes · 10 min read
Cross-Origin Resource Sharing (CORS) and Same-Origin Policy Explained
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-OriginSame-Origin Policy
0 likes · 12 min read
Understanding Same-Origin Policy and CORS in Web Development
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
Oct 8, 2023 · Frontend Development

Understanding Cross-Origin Requests and Frontend Solutions for CORS

This article explains the concept of cross‑origin requests, the same‑origin policy that restricts them, and presents three practical frontend solutions—JSONP, a server‑side proxy using Nest.js, and Webpack dev‑server proxy configuration—along with code examples and security considerations.

CORSJSONPProxy
0 likes · 8 min read
Understanding Cross-Origin Requests and Frontend Solutions for CORS
Code Ape Tech Column
Code Ape Tech Column
Sep 28, 2023 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the browser's Same-Origin Policy, its impact on DOM, data, and network access, and how Cross-Origin Resource Sharing (CORS) and preflight requests enable controlled cross-origin communication while preserving security.

CORSCross-Origin RequestsSame-Origin Policy
0 likes · 11 min read
Understanding Same-Origin Policy and CORS in Web Development
IT Services Circle
IT Services Circle
Jul 25, 2023 · Information Security

Exploiting XSS Vulnerabilities and Same‑Origin Policy to Upgrade Risk Levels

This article explains how to combine reflected and stored cross‑site scripting attacks with same‑origin policy abuse to turn a low‑severity XSS vulnerability into a high‑severity issue, detailing discovery, exploitation steps, and a JavaScript payload that harvests user data.

Cross-Site ScriptingJavaScriptSame-Origin Policy
0 likes · 8 min read
Exploiting XSS Vulnerabilities and Same‑Origin Policy to Upgrade Risk Levels
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-OriginNginx
0 likes · 8 min read
Understanding Cross-Origin Requests and PHP Solutions for CORS
System Architect Go
System Architect Go
Feb 28, 2021 · Information Security

Cross-Origin Resource Sharing (CORS) and Same‑Origin Policy: Concepts, Vulnerabilities, and Mitigations

This article explains the fundamentals of Cross‑Origin Resource Sharing (CORS) and the Same‑Origin Policy, illustrates common misconfigurations and attack scenarios such as origin reflection, null origin whitelisting, and TLS downgrade, and provides best‑practice mitigation techniques for secure web development.

CORSCross-Origin AttacksSame-Origin Policy
0 likes · 20 min read
Cross-Origin Resource Sharing (CORS) and Same‑Origin Policy: Concepts, Vulnerabilities, and Mitigations
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
58 Tech
58 Tech
Sep 18, 2019 · Information Security

Cross-Domain Solutions and Same-Origin Policy Practices in the Cloud Account Platform

The article explains how the 58 Group’s cloud account platform consolidates multiple account systems and provides a unified SDK, detailing cross‑domain challenges, same‑origin policy, and practical solutions such as JSONP, iframe proxies, independent domains, 302 redirects, and CORS to ensure secure, efficient login integration across web, app, and PC clients.

CORSCross-DomainSame-Origin Policy
0 likes · 8 min read
Cross-Domain Solutions and Same-Origin Policy Practices in the Cloud Account Platform