콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2883 화면

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.

아바타
취소

Same Concern

관련 게시물 답글 화면 활동
2
11월 17
7206
1
2월 23
2557
2
11월 21
8079
2
1월 20
5247
2
5월 18
6441