You can also use middleware and, for example, kill every session and not show anything if it does not meet the requirements. For example, you can define middleware that checks to see if a request comes from the IP address you are using, if so, do nothing, if not, stop it. Maybe not the best, but the solution :)
source share