Planning Secure File Sharing in a Customer Portal
A shared file should follow the same access rules as the project it belongs to. A private-looking download button is not enough if the file can be fetched through an unrestricted address.

Check access at download time
Associate the file with the project and verify the signed-in user's permission before returning it. Agree permitted file types, size limits and retention. Give customers meaningful filenames and avoid placing secrets in files intended for ordinary project discussion.
Practical checklist
- Check project access for every download.
- Restrict supported upload types.
- Show the file name and upload date.
- Test direct links from another account.
How to review the result
Copy a download URL into a session belonging to a different customer. The file should remain protected even though that person knows the address.