1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How Do Popular Sites Protect Their Files?

Discussion in 'Site & Server Administration' started by Wizza, Feb 14, 2013.

  1. #1
    I have a website i'm developing which I believe could be big in the near future. My issue now is that I need to start looking for people to help with different jobs on the website such as improving the design etc. I'm worried that one or more may take parts or all of my files and have an exact replica of my website.

    How do popular websites keep all their files and databases safe without any one or more people stealing code or even deleting files if they wanted?
    Solved! View solution.
    Wizza, Feb 14, 2013 IP
  2. gavo

    gavo Active Member

    Messages:
    123
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    70
    #2
    If directory listings are enabled you should add a blank index.php file to each open dir, eg. yourdomain.com/images/ so people cant browse the dir and download all image.

    If you have a template directory and the files are .html you could protect them from direct ripping/downloading with .htaccess
    Eg. htaccess file in template dir
    <Files ~ "\.html$">
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>

    Never leave backups in public accessible folders, put them offsite or store above public_html folder.
    No one should have access to delete files, never give ftp/cpanel access to anyone unless needed, people fall out, get jealous, download a copy for them selves, etc.

    If someone wants to rip the html/css/images from your site they will, its not worth encoding the source. If your site is copied it must be a great site that someone wants to spend time on.
    gavo, Feb 14, 2013 IP
  3. Wizza

    Wizza Well-Known Member

    Messages:
    471
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    115
    #3
    I understand what your saying above, but I mean for designers or programmers who need access to certain files.

    How would a designer for Twitter do his work without access to all of Twitters files?
    Wizza, Feb 14, 2013 IP
  4. #4
    I think they would use a SVN and would have access to whatever applies to the area they are working on, they would commit changes, then tested multiple times going up the chain, until eventually live on the site.
    gavo, Feb 14, 2013 IP
  5. Wizza

    Wizza Well-Known Member

    Messages:
    471
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    115
    #5
    So would it be wise to hire a server administrator at some point to setup an SVN for me and to manage the system? I'm quite new to subversion so would that run on a separate server to the live script?
    Wizza, Feb 14, 2013 IP
  6. Orangu

    Orangu Member

    Messages:
    569
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    35
    #6
    Non disclosure agreements and that kind of clauses plus svn.

    Using svn u can restrict certain developers to access only certain areas of the code plus you can track who, when and how is modifying your code, but that doesn't prevent that coder from stealing his part of the code, and depending on what part of the code someone is working on, it may not be very difficult for him to figure out what the whole project is about.
    Orangu, Feb 15, 2013 IP