← All tasks
🧮
Advanced

Write a Rate-Limiting Check Pseudocode Expression

⏱ 3 min ⭐ 90 XP 🔁 3 attempts allowed

What you'll do

Write the PHP expression (using a cache/counter) that blocks a login attempt once a user exceeds 5 attempts within 1 minute.

Scenario

A login endpoint has no rate limiting, allowing unlimited rapid password guesses.

Ready to try it?

Create a free account and subscribe to take "Write a Rate-Limiting Check Pseudocode Expression". Earn 90 XP and track your internship progress.

Already have an account? Sign in