student-hub / acs-upb-mobile

A mobile application for students at ACS UPB.
MIT License
27 stars 22 forks source link

Permission checks for restricted pages #258

Closed RazvanRotaru closed 3 years ago

RazvanRotaru commented 3 years ago

On the mobile version, permission checks are performed in the page that navigates to a restricted page. While the navigation on mobile allows for such inspections, on web, this security measures can be easily bypassed by directly typing the URL.

Solution

All security checks for navigation have to be also performed when loading the respective pages.