clrus / CSC495

CLR-US
https://calm-bay-018cf8910.4.azurestaticapps.net/
MIT License
0 stars 0 forks source link

Security: Avoid Direct Object Reference on Frontend #59

Open JLambertazzo opened 7 months ago

JLambertazzo commented 7 months ago

Any direct reference to an object in our database (in our case MongoDB ObjectIds) poses a security risk if exposed to end users. Where a unique reference is needed on the frontend we should rely on unique identifiers that are decoupled from the database (usernames, course ids & terms, etc.).