Hello,
is there a tool to lock all the files of the website (no changes allowed) and when you want to make any change, then you have to give additional password to unlock the files first?
| SitePoint Sponsor |

Hello,
is there a tool to lock all the files of the website (no changes allowed) and when you want to make any change, then you have to give additional password to unlock the files first?
http://yourshoutbox.com <- FREE for your website
http://www.medicineinanswers.com <- interesting medical questions
with answers



I don't know about a tool like that, but I set all my file permissions to read-only, which has much the same effect.
If you're a bear made of mohair, ponder on the nature of a mo.

Bingo! That's all you can do (except for the owner but leave that turned off, too, until you need to update.
Regards,
DK
David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
Client and (unpaid) WHB Ambassador
Updated mod_rewrite Tutorial Article (setup, config, test & write
mod_rewrite regex w/sample code) and Code Generator


This isn't 100% failsafe, but the first thing I do is disable FTP and only grant limited SSH users.
I typically then setup an SVN repo (you can use GIT, Mercurial, etc) with a dev, test, and prod branch structure (prod is created, test is dervived from prod, and dev is derived from test. Developers have access to dev and test and select individuals have access to prod. Then I have a weekly/monthly/it can be scheduled to run when necessary job that will take the code in the prod branch and overwrite the website with it.
Therefore the primary way the website is changed is via your SVN repo and by pushing changes from dev to test, and then from test to prod (provided it has been tested and verified).
Granted those with SSH accounts "could" change the website directly, but the next push of prod to the website will overwrite their changes.
Bookmarks