Interview practice question
Are UUIDs enough to protect resources?
Backend Engineering · Auth and Security · Intermediate
A teammate says using random UUIDs for resource IDs makes authorisation checks unnecessary. Do you agree?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- No: obscurity isn't authorisation.
- UUIDs leak via URLs, logs, sharing.
- Always check ownership/permission.
- UUIDs reduce enumeration risk only.
- Defence in depth.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.