Why we secure in layers?
Let's take a minute to see why it is important to secure our methods, even though we have already secured our URLs. Start the JBCP calendar application up. Log in using user1@example.com as the username and user1 as the password, and visit the All Events page. You will see the custom Access Denied page. Now, add .json to the end of the URL in the browser so that the URL is now https://localhost:8443/events/.json. You will now see a JSON response with the same data as the HTML All Events page. This data should only be visible to an administrator, but we have bypassed it by finding a URL that was not configured properly.
We can also view the details of an event that we do not own and are not invited to. Change .json ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access