Where to locate automysqlbackup.sh [AutoMySQLBackup] at Bluehost? [secure issue]

孤街浪徒 提交于 2019-12-11 16:14:22

问题


After having seriously database loosing problems, I decided to go for an autobackup system. I researched and AutoMySQLBackup looks fine.

I use Bluehost, where should I locate the automysqlbackup.sh file? I just worry about security issue. Also, where should we locate the backup files?

Appreciate! thanks a lot!


回答1:


I don't know bluehost, but definitely put it outside the web root if you can. If you can't, create a new directory, put the shell script and a .htaccess file saying

Deny from all

in it. That should block it for access from outside with a 403 error - make sure you test.

Putting it outside the web root is the way better option IMO, especially if it contains sensitive data.



来源:https://stackoverflow.com/questions/2310471/where-to-locate-automysqlbackup-sh-automysqlbackup-at-bluehost-secure-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!