Skip to main content
Community site session details

Community site session details

Session Id : +97xXeb/V+Q/y7iVhuIQYQ
Power Pages - General Discussions
Unanswered

Allow web page access to Anonymous Users Only

Like (0) ShareShare
ReportReport
Posted on 7 Oct 2022 13:09:11 by 1,510

Hi,

 

I want to allow web page access to Anonymous Users Only. So, Authenticated Users should not allow to access this page.

 

I have tried using web page access control rules, but not able to achieve this requirement.

 

 

Categories:
  • JoĂŁo Santos Profile Picture
    323 on 07 Oct 2022 at 13:43:18
    Re: Allow web page access to Anonymous Users Only

    Hi,

    Don't think I've ever come across this one before, not sure if you can do this with table permissions since their incremental?

    But of the top of my head I'd imagine that worst case, you could just encapsulate the whole page on a liquid if condition:

    {% if user %}

    <code to redirect to "page not found" or show some error on page>

    {% else %}

    <content for anonymous users>

    {% endif %}

     

    Not sure if someone else here knows how this can be done with Table Permissions and Roles.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Loading complete