
Hi @AR19 ,
There is out of the box way to restrict access to certain webpages by web roles. It is called Web Page Access Control Rules (see official docs here). However, you cannot apply it to anonymous users. If the page that you want to show is built using your custom Web Template you can use liquid to check if page accessed by an authenticated user or not and show depending content. Something like this:
{% if user %}
<!-- Content for Authenticated Users -->
{% else %}
<!-- Content for Anonymous Users-->
{% endif %}