Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

controlling access to a web file

(0) ShareShare
ReportReport
Posted on by 77

I understand and use Access Control for web pages but how do I apply similar rules to a web file.  If I give a contact a direct link to a web file, they can access this without any login, so I need to fix this.  Please advise.

  • Fubar Profile Picture
    7,995 Super User 2025 Season 1 on at
    Re: controlling access to a web file

    I don't know if this would work or not (I haven't tried it), but a possibility may be to set the Parent Page of the Web File (it defaults to the root/home but you can specify a specific Web Page) and then restrict access to that Web Page.

     

    Also depending on exactly what you are trying to give the user via the Web File you could have other options e.g. Notes attachment to a record or SharePoint, or Web Resource embedded on an Entity Form.

  • DarrenPlant Profile Picture
    77 on at
    Re: controlling access to a web file

    Apologies for delay.  I would need therefore to assign per contact record, that would be too cumbersome.  Can you not simply align with a web role.  So if contacts have web role 'portaluser' then they can view these web files, otherwise no access?

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: controlling access to a web file

    Web Files are normally used for public available/downlodable files.. for example Images used in the Portal / JS / CSS / manual guides, etc

     

    If you need security, you should then have your own table with a lookup for the Contact record and notes/files enabled, and then restrict access to that table

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35