We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn Web Security in Go

Harden a real Go web app with advanced authentication, and protection from injection, infrastructure, and operational security threats.

Also available in:

typescript

What you'll learn in this Go course

Learn everything you need to know about practical web security by patching a vulnerable Go, net/http, and SQLite application. You'll secure authentication and authorization, stop injection and browser attacks, protect sensitive data, improve infrastructure defenses, and prepare for denial-of-service attacks and incident response.

Chapter List

1
OWASP
Learn the OWASP Top 10 and how common web security risks shape secure application design.
2
Authentication
Learn how web apps verify users with sessions, cookies, password resets, OAuth, SAML, OIDC, and API keys.
3
Multi-Factor Authentication
Learn how MFA improves account security with hardware tokens, TOTP, passkeys, and recovery flows.
4
Authorization
Learn how to enforce access control with least privilege, RBAC, ABAC, IDOR defenses, and signed URLs.
5
Injection
Learn how injection attacks work and how to defend against SQL injection, unsafe archive extraction, prompt injection, and file upload risks.
6
Client-Side Security
Learn how to defend browser-facing apps against XSS, CSRF, clickjacking, unsafe CORS, and missing security headers.
7
Data Leaks
Learn how to prevent sensitive data exposure through safer API responses, error handling, and sanitized logs.
8
Infrastructure Security
Learn how to manage secrets, limit build and source leaks, defend against SSRF and redirects, and handle dependency risk.
9
Secure Transport
Learn how HTTPS, TLS, certificates, encryption, and signatures protect data in transit.
10
Secure Storage
Learn how to protect stored data with encryption, key management, password KDFs, database controls, and safe payment flows.
11
DDoS
Learn how to reduce abuse and availability risks with rate limits, throttling, queues, resource limits, bot detection, and CAPTCHA.
12
Incident Response
Learn how teams detect, triage, report, contain, and learn from security incidents.

Join 1,416 students in the Learn Web Security in Go course

Read reviews of their learning experiences

Extremely hard course, but like everything else on the site very well written and delivered.

(2/5)
wayne francis profile image

wayne francis

Donacarney, Meath, Ireland

So far its the longest and hardest course i saw on this platform. Its very well fulfills the stated description, providing details i would never expect coming on so much areas. Even tho sometimes assertions and their debugging were unreasonably complicated without local AI which can provide adequate feedback, course is still well worth it.

(4/5)
Oleksander Popov profile image

Oleksander Popov

Ukraine, Odesa

THis one was golden ! i recommend this one strongly!

(5/5)
Andreas Lindh profile image

Andreas Lindh

Sweden

the best cybersecurity course ever for a ecommerce website and all other websites

(5/5)
ashan dhanushka profile image

ashan dhanushka

rathmalana colombo

The hardest course until now.

(4/5)
Sascha Ziebart profile image

Sascha Ziebart

Germany

The most thorough course I've taken on boot.dev so far! Took me longer to complete than I originally expected, but the time I invested was well worth it. Highly recommended!

(5/5)
Rastko Andonov profile image

Rastko Andonov

Serbia

Good course, though incredibly heavy and sometimes feels like it's just plugging in things. Full understanding does require a bit of exploration on your own. But, this is not too different from actually joining a new team and becoming exposed to a large, unfamiliar codebase, so that's a valuable skill in itself.

(4/5)
Robert Eisenman profile image

Robert Eisenman

Oakland, CA

good

(4/5)
Dev Kumar Pal profile image

Dev Kumar Pal

India

This course was the toughest one I've taken from Boot.Dev. It was hard to grasp the essence of the lessons and assignments, mostly because of my limited English. I had to dive deep into reading the links attached to the lessons, and some tasks took me almost an entire day. But step by step, I finished it! I think this course taught me the most - how to break down confusing and complex topics into smaller pieces and practice different ways to solve them.

(4/5)
Yurii Komar profile image

Yurii Komar

Fatima, Portugal

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.