Community mailing list archives

community@mail.odoo.com

Direct Linking to Files on Secure Portal Webpage

by
Brad Ridgeway
- 11/04/2015 17:06:42
Community,

I have successfully created a secure webpage using the Web Security and Website Menu By User Display modules that only Authenticated users can access.  The problem I discover is if you know the URL, you can direct link to documents listed on the page and bypass the security and download the files.

How can I secure the documents / attachments so that only authenticated Portal users can access the files and prevent unauthenticated users from direct linking?

Can you change permissions of the individual files in the Database Structure > Attachments list or do you add something to the link code on the webpage?

Thanks,

Brad