Hi All,
There are plenty of cPanel features/functions that allow the direct modification of files on a live ('production version') hosting account.
The most obvious/dangerous one is File Manager which can pretty much allowed the CRUD of any file or folder.
Less obvious, maybe, are features like IP Blocker that directly modify the .htaccess file. It probably wouldn't be hard to create a comprehensive list of all available cPanel feature that allow direct modification of hosting account files.
Cutting to the chase: is it just me, or is this "power" fundamentally (often in the hands of less technical folk) at odds with any hosting account that is managed using version control? If files are modified directly on the live site, isn't this a recipe for such modified files to get overwritten (and the changes made by cPanel undone) the next time code is pushed to the hosting account from the code repository?
How do others manage this situation, i.e. where the hosting account owner DOES want their cPanel control, but the site is under version control? Of course one answer is simply to disallow cPanel access to anyone whose site is under version control. Or is there some way for the two needs to happily co-exist?
Thanks,
Ross
There are plenty of cPanel features/functions that allow the direct modification of files on a live ('production version') hosting account.
The most obvious/dangerous one is File Manager which can pretty much allowed the CRUD of any file or folder.
Less obvious, maybe, are features like IP Blocker that directly modify the .htaccess file. It probably wouldn't be hard to create a comprehensive list of all available cPanel feature that allow direct modification of hosting account files.
Cutting to the chase: is it just me, or is this "power" fundamentally (often in the hands of less technical folk) at odds with any hosting account that is managed using version control? If files are modified directly on the live site, isn't this a recipe for such modified files to get overwritten (and the changes made by cPanel undone) the next time code is pushed to the hosting account from the code repository?
How do others manage this situation, i.e. where the hosting account owner DOES want their cPanel control, but the site is under version control? Of course one answer is simply to disallow cPanel access to anyone whose site is under version control. Or is there some way for the two needs to happily co-exist?
Thanks,
Ross