Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2828 Visualizzazioni

Hi All,

I have a question in relation to the security of the default attachment functionality within Odoo.

Attachments within Odoo are all referenced by a URL with an ID as shown below:

https://{odoo domain}/web/content/1701?download=true

Issue:

Any logged in user can simply take this URL and increment/decrement the ID to obtain all documents stored within Odoo! This means that if a user updates a resume on the recruitment module, it can potentially be read by anybody. If new costing information is uploaded against a product in, it can be downloaded by anybody. This poses a serious privacy issue and I am sure that I am not the only person that has this issue.

Does anybody have any suggestions how we can lock down attachments to the model and record for which the attachment was attached against?

E.g. is an employment contract is attached to the recruitment record of Bill Smith, the attachment should only be opened from that record (and therefore inheriting the permissions of that record)???

Note: I am using Odoo V11

Any advice on getting around this security issue would be greatly appreciated.

Avatar
Abbandona

Same Concern

Post correlati Risposte Visualizzazioni Attività
2
nov 17
7173
1
feb 23
2530
2
nov 21
8007
2
gen 20
5221
2
mag 18
6410