Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5535 Lượt xem

Someone filed an issue on github https://github.com/odoo/odoo/issues/1975

which showed that the passwords in Odoo and OpenERP for that matter are not being hashed:

http://php.net/manual/en/faq.passwords.php

"Password hashing is one of the most basic security considerations that must be made when designing any application that accepts passwords from users. Without hashing, any passwords that are stored in your application's database can be stolen if the database is compromised, and then immediately used to compromise not only your application, but also the accounts of your users on other services, if they do not use unique passwords."


More motivation: http://security.blogoverflow.com/2011/11/why-passwords-should-be-hashed/

Just for those who don't know the difference between hashing and encrypting passwords:
http://stackoverflow.com/questions/326699/difference-between-hashing-a-password-and-encrypting-it

Besides hasing passwords I also think a salt should be added.

Odoo is supposed to be used by businesses.  If this is the kind of security that the Odoo developers
are encouraging then they deserve to be dragged to the stake and burned, since they don't seem to care about the security of the businesses
that are going to be using their software.

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Yes, by default the password is not encrypted. To store password in encrypted text use auth_crypt (or base_crypt for later version). The best practice here is to use the module in production.

But, I agree that by default it should be secure.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

"The best practice here is to use the module in production."

I can't say that I've seen anyone make this reccomendation in the official documentation.

 

Most people aren't aware that they should be using this. This should be installed by default or just be part of the base install by default. Security should not be an "optional" thing.

 

Ảnh đại diện
Huỷ bỏ

Yes, I agree with you. That is just my opinion.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 9 18
30944
22
thg 4 23
111734
1
thg 9 15
3933
0
thg 3 15
3941
1
thg 11 22
3315