Articles 91 to 93

Key on disk

Backup Your Files with rsync and SSH

February 9, 2008

If you have many important files on your computer, you probably save them somewhere, from time to time: usb key, CD, server… the choice is yours. But the problem is to maintain this backup up-to-date. So what about making a backup à la “time-machine” to save your files on a regular basis and be able to access previous versions or the latest one easily. We will realize a backup of the files of the computer to our web hosting / server.

For that, we’ll use the linux tools rsync and SSH. This tools are usually built-in in Linux distributions or you can easily install them otherwise with your favorite packet manager. Under Windows, that’s another story but nothing is completely lost. I will begin to describe how-to install the tools under Windows (sometimes you just don’t have the choice of your OS) and then describe the backup procedure. The procedure applies for both linux and windows.

I make here the assumption that you have an ssh access to your distant server. This will allow you to have an encrypted connection between your computer and the server and and therefore will prevent anyone to intercept your backups when you send them.

Read more...

Neurons network

Restrict Access with HTAccess

January 30, 2008

I am sure that you have already seen some dialog like that:

HTAccess restricted Access

This kind of dialog appears when a folder is protected on an Apache server. It allows some files to be accessible to a limited amount of people with special rights. This kind of protection is done by a little file: .htaccess put in the directory containing the content to protect.

Read more...

Neurons network

Host Your Own Proxy Server

January 28, 2008

I guess that you have already been in a situation where you couldn’t access some websites whether you are at school, work, library, or in some country that practices censure.

There are many proxies (thanks Korben for the info) that you can use to bypass these limitations but they can be slow and / or with a lot of ads and pop-up windows. But if you have your own web hosting, there is an easy way to avoid these drawbacks: install your own proxy1. In order to do so, you simply need:

  • A web hosting that allows you to execute cgi scripts.
  • The CGIProxy script written by James Marshall, available here.

Read more...