cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DarrenPlant
Helper II
Helper II

controlling access to a web file

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.

3 REPLIES 3
OliverRodrigues
Super User
Super User

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




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

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
Solution Sage
Solution Sage

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.

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (2,907)