Skip to content

Repository files navigation

IPT_Mod4_Lab2

by a potato

Reusing the old Mod4_lab1 activity by simply adding a payment api for tuition scenarios.

A Lab activity to satisfy the following.

Problem Scenario. You are building a Secure Payment API that handles sensitive user information.

The system must be able to.

● Encrypt sensitive fields.

Encypted credit card info. image

● Hash passwords securely.

Hashed user password with argon2. image

● Prevent brute-force attacks.

first login attempt without auth. alt text

login attempt with pass and user. alt text

after multiple attempts. alt text alt text

succesful logins. user & pass alt text

token. error 400 appears because no payload was delivered, but login is sucessful as we didnt get a 401 error. alt text

● Log security-related events. log of multiple attempted logins. alt text

Students must test. ● Access without authentication. Done up top. ● Excessive API requests. Done up top.

● Invalid encrypted payloads. when sending an invalid encrypted data. alt text

when sending valid encrypted data. alt text

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages