Skip to content
Rishan Solutions
Rishan Solutions
  • PowerApps
  • SharePoint online
    • Uncategorized
    • Uncategorized
  • PowerAutomate
Rishan Solutions
Latest Posts
  • Agentic AI: The Dawn of Autonomous Intelligence Revolutionizing 2025 June 24, 2025
  • Recursive Queries in T-SQL May 7, 2025
  • Generating Test Data with CROSS JOIN May 7, 2025
  • Working with Hierarchical Data May 7, 2025
  • Using TRY_CAST vs CAST May 7, 2025
  • Dynamic SQL Execution with sp_executesql May 7, 2025

Creating private vs public pages

Posted on April 14, 2025April 14, 2025 by Rishan Solutions

Loading

When designing a Power Pages (formerly Power Apps Portals) website, one of the most crucial aspects is deciding which pages should be public and which should be private. This is fundamental for security, user experience, and business logic. Whether you’re building a customer portal, partner site, or internal system, correctly managing page visibility ensures that only the right audience sees the right content.

This guide explores private vs public pages, how to configure them, and best practices for secure and effective portal design.


What Are Public and Private Pages?

Public Pages

These are accessible to any user, including those not signed in (anonymous users). No authentication is required.

Examples:

  • Homepage
  • About Us
  • Contact page
  • Product listings
  • Support articles

Private Pages

These are accessible only to authenticated users who have been granted access through Web Roles. You must sign in to view these pages.

Examples:

  • User dashboard
  • Order history
  • Admin panel
  • Membership-only content
  • Employee resources

How to Create Public Pages in Power Pages

  1. Open Design Studio or Portal Management App
  2. Create a Web Page using the editor.
  3. Under Permissions or Page Permissions, make sure:
    • No Web Role is assigned
    • Or a Web Role with anonymous access is associated (like “Anonymous Users”)
  4. Save and publish the page.

The page will now be visible to anyone visiting the portal, even without signing in.

🔹 By default, all new pages are public unless protected by a Web Role.


How to Create Private Pages in Power Pages

  1. Create the Web Page using Power Pages Design Studio or Portal Management App.
  2. Navigate to Page Permissions or click “Control access”.
  3. Enable Enable Table Permissions or Access control.
  4. Add the Web Role(s) that should have access (e.g., “Authenticated Users”, “Manager”, “Admin”).
  5. Save and publish the page.

Access Control Levels:

OptionWhat It Does
Grant access to authenticated usersRequires login, but allows any signed-in user
Grant access to specific Web RolesOnly users with selected roles can access
Grant access to anonymous usersMakes the page public again

Example Scenarios

Public Page: Product Catalog

  • Audience: Visitors, search engines
  • Visibility: Open to all
  • Web Roles: None or “Anonymous Users”
  • Security: No authentication required

Private Page: Order Management Dashboard

  • Audience: Logged-in customers
  • Visibility: Requires sign-in
  • Web Roles: “Registered Customers”
  • Security: Protected with Web Role + optionally Table Permissions

Making Nested Pages Private/Public

Child pages inherit the access settings of their parent page unless explicitly changed.

Example:

  • If the parent “Admin” page is private and assigned to the “Admin” Web Role:
    • All child pages (e.g., “Reports”, “User Management”) will be private too.
  • You can override this by changing access settings on the child page.

Tips for Managing Page Access Effectively

  1. Plan Access Structure Early: Decide which parts of the portal are public and private during the wireframing stage.
  2. Use Descriptive Web Roles: Name roles clearly – “Customer”, “Manager”, “Partner”, etc.
  3. Avoid Mixing Roles in One Page: Keep content logically separated by access levels.
  4. Use Redirects: If a user tries to access a private page without proper permissions, redirect them to a login or access-denied page.
  5. Use Conditional Content: On shared pages, use Liquid or JavaScript to hide/show content based on login status or role.
  6. Always Test as Different Users: Confirm access by logging in as users with different Web Roles.

Switching Between Public and Private

You can convert a public page to private (or vice versa) any time by modifying the Web Role access.

To switch a public page to private:

  1. Add Page Permissions.
  2. Assign a Web Role.
  3. Save.

To switch a private page to public:

  1. Remove all Page Permissions or assign to “Anonymous Users”.

Security Note

Protecting the page isn’t enough – always protect the data too. Even if a page is private, if you expose a form or list, make sure the Table Permissions are properly scoped to prevent unauthorized access to Dataverse records.


Summary Table

FeaturePublic PagePrivate Page
VisibilityOpen to all usersRequires login
SecurityNo Web Role neededWeb Role(s) must be assigned
Use CaseInfo pages, marketingUser dashboards, admin panels
Example Web RoleAnonymous UsersRegistered User, Admin
Setup ComplexitySimpleNeeds role and permission setup
Search Engine AccessYesNo (unless indexed by mistake)

Final Thoughts

Creating public and private pages is a foundational aspect of building secure, user-focused portals in Power Pages. It’s more than just controlling visibility—it’s about guiding users through a structured, intentional experience while protecting sensitive data and workflows.

By understanding and properly configuring Web Roles, Page Permissions, and Table Permissions, you can confidently control access and deliver a seamless, secure experience to every visitor.

Posted Under Power Pagesauthenticated user Power Pages how to make private page Power Pages managing access in Power Pages Microsoft Power Pages roles portal access control Power Apps portal authentication Power Pages anonymous user Power Pages login required page Power Pages private page Power Pages public page Power Pages site security Power Pages web role secure portal pages Web Page permissions Power Pages

Post navigation

XR applications in renewable energy projects
Not using budgets or cost alerts

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Agentic AI: The Dawn of Autonomous Intelligence Revolutionizing 2025
  • Recursive Queries in T-SQL
  • Generating Test Data with CROSS JOIN
  • Working with Hierarchical Data
  • Using TRY_CAST vs CAST

Recent Comments

  1. Michael Francis on Search , Filter and Lookup in power apps
  2. A WordPress Commenter on Hello world!

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • March 2024
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • January 2022

Categories

  • Active Directory
  • AI
  • AngularJS
  • Blockchain
  • Button
  • Buttons
  • Choice Column
  • Cloud
  • Cloud Computing
  • Data Science
  • Distribution List
  • DotNet
  • Dynamics365
  • Excel Desktop
  • Extended Reality (XR) – AR, VR, MR
  • Gallery
  • Icons
  • IoT
  • Java
  • Java Script
  • jQuery
  • Microsoft Teams
  • ML
  • MS Excel
  • MS Office 365
  • MS Word
  • Office 365
  • Outlook
  • PDF File
  • PNP PowerShell
  • Power BI
  • Power Pages
  • Power Platform
  • Power Virtual Agent
  • PowerApps
  • PowerAutomate
  • PowerPoint Desktop
  • PVA
  • Python
  • Quantum Computing
  • Radio button
  • ReactJS
  • Security Groups
  • SharePoint Document library
  • SharePoint online
  • SharePoint onpremise
  • SQL
  • SQL Server
  • Template
  • Uncategorized
  • Variable
  • Visio
  • Visual Studio code
  • Windows
© Rishan Solutions 2025 | Designed by PixaHive.com.
  • Rishan Solutions