SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Is there a tool to lock website?

  1. #1
    SitePoint Zealot
    Join Date
    Aug 2006
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Is there a tool to lock website?

    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

  2. #2
    Life is not a malfunction gold trophysilver trophybronze trophy
    SitePoint Award Recipient TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    3,825
    Mentioned
    132 Post(s)
    Tagged
    5 Thread(s)
    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.

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,314
    Mentioned
    15 Post(s)
    Tagged
    2 Thread(s)
    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

  4. #4
    Hosting Advisor silver trophybronze trophy
    SitePoint Award Recipient cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    2,795
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •