Reset Password from Scratch
Play
24:24 CC

Reset Password from Scratch

#316 Sep 26, 2021 pro
Continuing from Episode 300, we look at creating a password reset feature. We explore some of the security concerns around this feature and some mitigating options.

Safely Running Shell Commands
Play
8:26 CC

Safely Running Shell Commands

#151 Sep 16, 2018 pro
We may come across a need to run shell commands and Ruby has some built in methods which appear safe, but can introduce major security risks.

generates_token_for
Play
7:55 CC

generates_token_for

#380 Dec 18, 2022 pro
In Rails 7.1, we're going to get a new feature that will allow us to generate tokens for attributes. With generates_token_for, a token can embed data from a record. When using the token to fetch the record, the data from the token and the data from the record will be compared.

Secure User Passwords
Play
8:26 CC

Secure User Passwords

#349 May 15, 2022 pro
We have a look at integrating the HaveIBeenPwned service with Devise so that our users will some awareness of their password being potentially compromised.

Masked Fields
Play
8:35 CC

Masked Fields

#403 May 28, 2023 pro
Learn to create a reusable Stimulus controller to be able to toggle fields so that we can hide sensitive information from prying eyes, screenshots or when sharing our screen.