Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3912 มุมมอง

Any user with access rights to the user list can export every single password in the system. For one, storing plain text passwords in any form is poor security and having anyone with access to all users' paswords is also poor security. You can't allow a user to create other users but ensure they can't steal everyone's passwords.

 

Is there any way to prevent users having access to other people's passwords even if they have the rights to create users. Example, you have an HR user that can create users but we don't want them to have access to the CEO's password. I'm sure all the executives at any company would agree.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Use the module auth_crypt
https://www.odoo.com/apps/modules/7.0/auth_crypt/

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

The auth_crypt that Fabrice had suggested will encrypt the password so that it is not stored in clear text.  However, I think it is still a better idea to prevent exporting password all-together (anyway, who want to export password without any malice objective in the first place).  A list of enrypted passwords will make it easier for attacker to reverse engineer the hash algorithm.  I'd recommend inheriting the export_data method in the res.users and remove password field from the fields_to_export.
 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 18
5142
1
มี.ค. 15
5125
0
มิ.ย. 25
2311
1
พ.ย. 21
5601
2
ธ.ค. 23
32724