sqlite user/password security

后端 未结 4 1958
鱼传尺愫
鱼传尺愫 2020-12-09 16:42

I\'m developing an easy website and I\'m trying a sqlite database. In contrast to MySQL, when you connect to a db you don\'t say and user/password, and with MySQL you do.

4条回答
  •  隐瞒了意图╮
    2020-12-09 17:35

    Additionally to what's been said, you can secure your database on your web server by doing one of the folliwing:

    • place the database file outside of your (web)document root
    • block access to the file, i.e. via .htaccess on apache servers

提交回复
热议问题