开发者

Python(django)....and the db

开发者 https://www.devze.com 2022-12-28 20:54 出处:网络
i have one web application, with postgresql as DB, evrything is fine..now trying to implement one security feature..that my db should be updated or del or any thing has to done through my application

i have one web application, with postgresql as DB, evrything is fine..now trying to implement one security feature..that my db should be updated or del or any thing has to done through my application only...and admin also...i.e sort to protecting the db..no one change it ba开发者_StackOverflow社区ck end..and through some application....i need some ideas


What does it mean through your application only? As opposed to changed with direct access to the database?

If that is the case then it is trivial - do not distribute the database password to anyone. If you need to give access to other applications create separate users/roles for such purpose.

As for django - it provides another layer of security, as described here and you can extend it if it does not fit your bill.

0

精彩评论

暂无评论...
验证码 换一张
取 消