Canonical: https://toolipedia.app/web-and-api-security-guide

# Web and API Security Guide

Short illustrated guides with flow diagrams and header examples for OAuth with PKCE, JWT, CORS, TLS, REST API design and HTTP caching, plus an OWASP Top 10 reference.

Breadcrumbs: Toolipedia > Developer tools > Code and developer utilities > Web and API Security Guide

## About Web and API Security Guide

Seven short guides on web and API security, each with a flow diagram and real header examples. OAuth 2.0 with PKCE shows the redirect and token steps. JWT explains the three parts and the checks a server must make. CORS walks through the preflight request. TLS shows the handshake and HSTS, REST design lists methods, status codes and safe defaults, and HTTP caching explains Cache-Control and ETag. The OWASP Top 10 table (2025 edition) gives each risk with a first defence. Pick a topic, read the diagram, then copy the example headers.

## How to use Web and API Security Guide
1. Choose a topic from the list, for example CORS or OAuth 2.0 with PKCE.
2. Follow the numbered arrows in the flow diagram, then read the header and request examples below it.
3. Check the things-to-remember list and compare it with how your own API or website is set up.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- web and api security guide
- owasp top 10
- oauth explained
- jwt explained
- cors explained
- api security basics

## Frequently asked questions

### Is the OWASP Top 10 a complete security checklist?

No. It is an awareness list of the most critical risk categories, updated every few years. Use it to start a review, and use a standard such as OWASP ASVS when you need detailed, testable requirements.

### Why can I not use * with credentials in CORS?

Browsers refuse a wildcard Access-Control-Allow-Origin when the request carries cookies or authorization headers. The server must name the exact origin and send Access-Control-Allow-Credentials: true.

### Is a JWT encrypted?

A normal signed JWT is only signed, not encrypted, so anyone holding it can read the payload. The signature only proves nobody changed it. Keep secrets out of the claims.

### Is Web and API Security Guide free?

Yes. Web and API Security Guide on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Web and API Security Guide:
- [JWT decoder](https://toolipedia.app/jwt-decoder)
- [PKCE Code Verifier and Challenge Generator](https://toolipedia.app/pkce-code-verifier-challenge-generator)
- [HTTP Caching and Download Header Generator](https://toolipedia.app/http-caching-and-download-header-generator)
- [Computer Science Concepts Reference](https://toolipedia.app/computer-science-concepts-reference)
- [Web Server Config Generator](https://toolipedia.app/web-server-config-generator)
