Skip to content
free
K
1
2
practice
Home
Math
English
Science
Social Studies
Contact
Language
English
Español
Sign In
/
High School Electives
/
Computer Science
/
Authentication and Authorization
Grade Level
Computer Science
HSCS.073 Authentication and Authorization
0%
Skill Level
🔴 Hard
00:00
Progress to Next Level
25% to Medium
Easy
Medium
Hard
Mastery
100%
A route returns all records matching `classId` but does not check whether the teacher is assigned to that class. Which fix best addresses the security gap?
A
Ask teachers to log in less often so requests are faster
B
Store the classId in a shorter format.
C
Change the login page background color to warn users.
D
Add an authorization check that confirms the authenticated teacher may access the requested class records.
Submit Answer