Check out example codes for "error 403". It will help you in understanding the concepts better.
Code Example 1
HTTP 403 is a HTTP status code meaning access to the requested resource is forbidden for some reason.
Code Example 2
// Don't be on a forbidden page!!
Learn ReactJs, React Native from akashmittal.com