I am using a VPS host, with Cpanel/WHM so I have full control.
On one of the hosting accounts, which is a live website, I have created some bash scripts to run some admin tasks at set times using cron.
The Help desk at the provider is insisting I should have these scripts located in the /public-html folder, and I think they are nuts, but they wont listen to me.
They said that I can secure the script locations, but thats not the point. If I make a human error and expose my scripts to the internet it can cause me problems. By putting my scripts into the home/ folder, then there is zero risk.
Who is right, them or me?
On one of the hosting accounts, which is a live website, I have created some bash scripts to run some admin tasks at set times using cron.
The Help desk at the provider is insisting I should have these scripts located in the /public-html folder, and I think they are nuts, but they wont listen to me.
They said that I can secure the script locations, but thats not the point. If I make a human error and expose my scripts to the internet it can cause me problems. By putting my scripts into the home/ folder, then there is zero risk.
Who is right, them or me?