← Back to CoursesCyber Security: Intermediate

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Web Security, APIs, and Browser Threats

Manual: General · Subject: Cyber Security

Explore the most common internet-facing attack paths and how modern defenses work.

Why web security is difficult

The challenge

Browsers, APIs, and web applications sit at the boundary between users and servers. They must handle untrusted input, manage sessions, and enforce authorization while remaining usable and fast.

Common web threats

ThreatWhat it targets
Cross-site scriptingUser browsers and session data
Cross-site request forgeryTrusted browser sessions
SQL injectionBackend databases and query logic
Broken authenticationLogin flows and session tokens

Web defense concepts

Same-origin policy
Browser rule limiting cross-site data access
CSRF token
Secret token that proves a request was intentionally made
HttpOnly cookie
Cookie attribute that reduces script access
Content Security Policy
Browser policy that restricts loading and execution
💡

API security habit

Treat APIs as products: authenticate every request, authorize every object, rate limit misuse, and log access patterns.

Session protection options

Cookie-based session

  • Common in web apps
  • Depends on secure cookie attributes and CSRF defenses

Token-based session

  • Often used by APIs and mobile apps
  • Requires careful storage and expiry handling

Which attack is most associated with injecting malicious script into a page viewed by other users?

What is the purpose of a CSRF token?

Which control helps reduce script access to session cookies?

Why is authorization on every API object important?