concept authorization in category javascript

This is an excerpt from Manning's book Data Wrangling with JavaScript.
14.6.1 Authentication and authorization

This is an excerpt from Manning's book Single Page Web Applications: JavaScript end-to-end.
Authorization is the processes of ensuring that only people and systems that are supposed to have access to data are able to receive it. This can be accomplished by tying permissions to a user, so that when the user signs in there’s a record of what they’re permitted to see. It’s important that authorization be handled on the server so that no unauthorized data is ever sent to the client. Otherwise, our malicious hacker could again reverse-engineer our application and access sensitive information they’re not supposed to see. A side benefit of authorization is that because it only sends data that a user is authorized to see, it minimizes the amount of data sent to the client, potentially making the transaction much quicker.