Skip to content
Artwork for Scalable Stories
Scalable Stories · October 20 · 11 min

NGINX JSONP: Safe Cross-Origin APIs with the XSS Module

Technical Briefing: Safe JSONP in NGINX with ngxhttpxssmodule Today's source is a GetPageSpeed article on ngxhttpxssmodule, an established NGINX module from the xss-nginx-module project. The module generates JSONP responses and validates the callback name before sending any data. The article covers when JSONP is still needed, how the module decides whether to wrap a response, a hardened configuration, verification steps, and troubleshooting. The Problem: When CORS Isn't an Option CORS is the mo…

0:00-11:30

transcript

No transcript — this publisher did not publish one.

show notes

Technical Briefing: Safe JSONP in NGINX with ngxhttpxssmodule Today's source is a GetPageSpeed article on ngxhttpxssmodule, an established NGINX module from the xss-nginx-module project. The module generates JSONP responses and validates the callback name before sending any data. The article covers when JSONP is still needed, how the module decides whether to wrap a response, a hardened configuration, verification steps, and troubleshooting. The Problem: When CORS Isn't an Option CORS is the mo…