- Lab
- Security

Password Protection for Go Applications
In this lab, you’ll practice hardening Go logins with bcrypt and rate limiting. When you’re finished, you’ll have a Go app that securely stores passwords and throttles brute‑force attempts.

Path Info
Table of Contents
-
Challenge
Improving Password Security with Bcrypt
You will compare Bcrypt to other hashing methods and learn why it is preferred for password storage.
-
Challenge
Protecting Against Brute-force Attacks with Rate Limiting
You will learn about rate limiting to protect against brute-force attacks on login endpoints. This includes implementing per-IP and per-username rate limiting strategies.
-
Challenge
Assess Your Understanding
In this knowledge check, you will be tested on your understanding of password protection techniques in Go applications, specifically focusing on the use of Bcrypt for secure password hashing and rate limiting to prevent brute-force attacks.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.