Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5913 Näkymät

As a developer it is advisable to check and restrict the users from entering special characters like <,>,*,%,' etc to avoid sql injections.

But in the modules of Odoo i do not find any kind of restriction for those. So is it really not necessary to write any code for that and assume that Odoo handles the sql injection characters by itself !

Can anyone suggest anything regarding this as i am a beginner.


Avatar
Hylkää
Paras vastaus

Secure by design

Odoo is designed in a way that prevents introducing most common security vulnerabilities:

  • SQL injections are prevented by the use of a higher-level API that does not require manual SQL queries

  • XSS attacks are prevented by the use of a high-level templating system that automatically escapes injected data 

  • The framework prevents RPC access to private methods, making it harder to introduce exploitable vulnerabilities

Reffernce link : https://www.odoo.com/security


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 15
8236
1
tammik. 22
2644
1
jouluk. 19
3603
2
kesäk. 18
11329
1
toukok. 17
10976