Authorization testing automation means a test suite that checks, on every release, that each role can call exactly the services it should and nothing else. The OWASP Authorization Testing Automation Cheat Sheet lays out…
Web security
70 posts
Published from 5 Oct 2026 to 28 Oct 2026.
Web security is the set of practices that protect websites, web applications and their users from attack, data theft and misuse.
The web was built for sharing documents, and many of its risks come from that open design. A browser loads code from many origins and runs it on the visitor's machine, so the same-origin policy keeps one site from reading another's data. Encrypted connections over HTTPS stop people on the network from reading or altering traffic. Cookies and tokens identify a signed-in user, which makes them a prime target.
A handful of attack types account for much of the trouble. Injection tricks a server into treating user input as a command, as in SQL injection. Cross-site scripting plants hostile script in a page that other visitors then run. Cross-site request forgery makes a signed-in browser send a request its owner never chose. Broken access control lets a user reach data or actions meant for someone else. Defences include validating and encoding input, parameterised queries, content security policy, careful session handling and keeping software patched.
Nearly every organisation now depends on a web application to reach customers, take payments or hold records. A single flaw can expose the personal details of everyone who signed up. Sound web security is what lets people type a password or a card number into a page with reasonable confidence.
A payment gateway integration hands the card details to a provider, but it does not hand over the trust decisions. Your backend still decides what the order costs, whether it was paid, and when to ship it. The OWASP…
Java application security starts with a short list from OWASP. The OWASP Java Security Cheat Sheet picks out the risks that are specific to Java, then points to fuller sheets: Deserialization, Query Parameterization and…
Certificate pinning means an app trusts one specific certificate or public key for a host, not every certificate its device trusts. The OWASP Pinning Cheat Sheet is unusual among cheat sheets because it spends as much…
PHP configuration security starts in one file: php.ini. The OWASP PHP Configuration Cheat Sheet is a short list of values for those configuring PHP and the web server it runs on, so that the setup is very secure. This…
This Rails security checklist follows the OWASP Ruby on Rails Cheat Sheet, which gives quick, basic security tips for Rails developers and complements the Rails core security guide. Rails does a lot for you out of the…
A .NET security checklist is easiest to trust when it comes from one maintained source. This one follows the OWASP DotNet Security Cheat Sheet, which covers modern .NET and ASP.NET Core and keeps advice for older .NET…
Micro frontend security starts from one fact in the OWASP Micro-Frontend Security Cheat Sheet: separate repositories and separate deployment teams do not create browser security boundaries. The same-origin policy…
Web cache security comes down to one question: when a cache hands out a stored response, was it made for the person asking? The OWASP Web Cache Security Cheat Sheet says a cache becomes a security boundary when it serves…
gRPC security starts from one fact: gRPC is not a REST API with a different wire format. It sends Protocol Buffers over HTTP/2, services call each other directly, and a single call can be a stream of many messages. The…
Symfony security is mostly a matter of letting the framework do its job and then checking where your own code or settings step around it. Twig escapes output, the Form component adds CSRF tokens and Doctrine uses…
Subdomain takeover prevention comes down to one habit: never leave a DNS record pointing at something that no longer exists. When a record still points at a deleted cloud resource, someone else can claim that resource…
Laravel security starts with a short list of settings and habits. The framework is meant to be secure by default, and the OWASP Laravel Cheat Sheet says the risk comes from the flexibility around those defaults: a…
Next.js security comes down to one idea: your app has many places where server code can be reached, and a check in one place does not protect the others. The OWASP Next.js Security Cheat Sheet builds its advice around…
FastAPI security is mostly about what you add around the framework: who may call each route, what a request may contain and what a response gives away. This guide follows the OWASP FastAPI Security Cheat Sheet and is…
Bot management is how you keep automated traffic from abusing your app: scraping your content, filling sign-up with fake accounts, replaying leaked passwords or hoarding stock. This guide follows the OWASP Bot Management…
Django security starts in one file, settings.py. The framework ships with protections that aim to be secure by default, and the OWASP Django Security Cheat Sheet says plainly where a team can switch them off or set them…
A sign-up form asks for an email address, and a month later the same address decides who can reset a password, change an account and get in. This guide covers email verification security: how to check, store and confirm…
"What was your first car?" looks like a harmless extra check on a password reset. This guide covers security questions: why they fail and what to use instead, using the OWASP Choosing and Using Security Questions Cheat…
LDAP injection prevention starts with one question: how does your app build the query it sends to the directory? If the answer is "we paste the username into a string," that code needs a change. This post gives you the…
SAML security is about one question: when your app lets someone in because a message says "this person signed in", how sure are you the message is real? SAML is an open standard for sending sign-in information from an…
NoSQL injection is a way to change what your database query means by sending data in an unexpected shape. If your app runs MongoDB or a similar document database, one login route can be enough to hit it. The OWASP NoSQL…
Web service security starts with a plain fact: a SOAP or XML endpoint takes untrusted text from outside, parses it, and acts on it. That makes it a target in the same way a web form is. The OWASP Web Service Security…
Session management is how your app remembers who someone is after they sign in. HTTP has no memory, so the app hands the browser a session ID and checks it on every request. OWASP puts the stakes plainly: once someone is…
XSS prevention comes down to one habit: encode data for the exact place it lands. Cross-site scripting (XSS) means an attacker gets their text to run as script in another person's browser, on your site's behalf. It…
To prevent DOM-based XSS, start from what it is: a cross-site scripting bug that lives in your own page script, not in your server. The server can send a clean page, and then a script on that page takes data an attacker…
AJAX security is the work of protecting the calls your page makes in the background and the way it shows what comes back. Your page fetches a cart, saves a setting or loads a feed without a reload, and every one of those…
OAuth 2.0 security decides whether "sign in with an account you already have" is safe or a way into your users' data. OAuth lets your app get limited access to a person's account, or sign them in, without ever seeing…
DOM clobbering is an attack where someone injects plain HTML, with no script in it, and uses it to overwrite a variable your JavaScript trusts. It matters because many teams stop at "we block script tags". This guide…
IDOR prevention is about one question your server must ask every time: is this user allowed to touch this record? IDOR stands for insecure direct object reference. It is the bug where someone changes an ID in a request,…
Every other post on Web security
- Cryptographic storage: encrypt data and store keys safely
- Browser extension security: build extensions users can trust
- HTML5 security checklist: storage, messaging and iframes
- Cookie theft mitigation: detect stolen session cookies
- OWASP MFA cheat sheet: roll out multifactor authentication
- WebSocket security: check your real-time connections
- Credential stuffing prevention: OWASP's layered defense
- Transaction authorization: approval codes for each payment
- Cross-site leaks: stop other sites reading your app's state
- Node.js security checklist: harden server-side JavaScript
- Microservices security: OWASP checks for service-to-service calls
- Prototype pollution: protect your JavaScript objects
- Database security: harden the database behind your app
- Multi-tenant security: stop one customer seeing another's data
- TLS settings: a security checklist for your HTTPS setup
- Denial of service protection: limit what one client can use
- REST API security checklist: check every endpoint
- Third-party JavaScript management: an OWASP cheat sheet checklist
- HSTS: how to turn it on so browsers always use HTTPS
- Content Security Policy: write one your app can keep
- XXE prevention: check how your app parses XML
- Command injection: keep user input away from the shell
- Error handling: stop error pages leaking details
- Password storage best practices: check how your app hashes
- SQL injection testing: find queries built from input
- Input validation: what API validation is and how to test it
- Insecure deserialization: test what your app unpacks
- Template injection: test pages built from user input
- GraphQL security: test what your API lets clients ask
- JWT security: test how your app checks tokens
- XSS testing: how to check your app for cross-site scripting
- Mass assignment: test APIs for hidden writable fields
- Open redirect testing: check every redirect link
- Clickjacking: check whether your app can be framed
- CSRF protection: test forms and APIs for forged requests
- SSRF testing: stop your app fetching internal URLs
- Log injection: stop fake entries in your app logs
- CORS misconfiguration: how to check your API settings
- Prepare for a penetration test: a checklist for your team
- Broken access control: how to test your own app and API