Also read CloudFlare and CORs Whitelisting Introduction To ensure that Origin Server denies all IPs except the CloudFlare IP (this will need to be AT the server level,…
Read more →
Root Certificate Authority Often a Standalone Server? 1. Ultimate Trust Anchor The Root CA is the trust anchor of the entire PKI hierarchy. If compromised, all subordinate certificates…
Read more →
High Level Overview Cookie-authenticated APIs versus Authorization headers What Is CSRF Protection for API Endpoints? CSRF stands for Cross-Site Request Forgery. It’s a type of web attack where…
Read more →
Basic High Level Flow The attacker hijacks your authentication credentials (your cookie) – and uses that to call a sensitive API. If the API is callable from ‘all…
Read more →
API vs File Transfer: Choosing the Right Method for Data Exchange APIs and file transfers are both widely used methods for data exchange between systems. While they serve…
Read more →
Why CORS Is Important (And How to Secure It) Why CORS Is Important (And How to Secure It) What is CORS and why is it important? CORS (Cross-Origin…
Read more →
Session-based vs Token-based Authentication – Q and A Q: Aren’t session-based and token-based authentication basically the same? At first glance, they do appear similar: You authenticate with a…
Read more →
Strict Transport Security Not Enforced What Is HSTS? HSTS (HTTP Strict Transport Security) is a browser-enforced policy that ensures a website is only accessed using HTTPS—even if…
Read more →
How a Server Explicitly Sets CORS Headers for an HTTP Request A server explicitly sets CORS headers by including them in the HTTP response to a cross-origin request.…
Read more →
Overview The CORs headers need to be set explicitly on the server. For some websites, CloudFlare can be used to control CORS header logic at the edge. Note…
Read more →