web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / controlling access to ...
Power Pages
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.

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    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

  • DarrenPlant Profile Picture
    77 on at

    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?

  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard