Twitter recently has turned on Hypertext Transfer Protocol Secure (HTTPS) by default to users who are logged in to Twitter.com. Once users are authenticated, they will be able to see the familiar HTTPS and an image of a secured lock (on Chrome) next to it in the browser’s address bar.
HTTPS provides encrypted communication and secure identification of network web servers. Encryption has been used for many years by payment processors, banks, and many other websites. It uses the TLS/SSL protocols to authenticate web servers. HTTPS uses port 443 by default, as opposed to port 80 for the standard HTTP.
The standard HTTP protocol is not secure and is subject to eavesdropping attacks, thereby letting attackers gain access to website accounts and sensitive information. To secure a website, administrators issue a public key certificate assigned by a trusted certificate authority.
By turning on HTTPS by default, Twitter is forcing users to use secure communication when logged in to Twitter.com. This is a positive move towards securing Twitter.com. In addition, Twitter still encourages users to use strong passwords with at least 10 characters, using a combination of letters and numbers.
This is a tutorial how to install a Subversion on your desktop. Subversion is an open-source revision control system. A repository is usually installed on servers so developers and programmers can have easy access to code. Subversion uses a check-in an check-out process for submitting changes to the repository. The repository can also be installed on desktop systems. Access is gained through many means by way of direct file access, ftp, http, svn and svn+ssh. See chart below.
Installing Subversion will install both Subversion administration tools and the client. In Ubuntu or Debian-based systems, you can install Subversion by performing the following commands. By the way, I added an Apache and Subversion WebDav module so both can be installed with just a single command.
sudo apt-get install subversion libapache2-svn
Reboot the Apache Web Server
sudo /etc/init.d/apache2 restart
Create a Subversion Repository
svnadmin create /home/yourname/repository/
I’m placing the repository in my home directory. You can place it anywhere in your system. You may need to use sudo if you install it outside of your home directory. Remember the repository location, we will use it a few times below to configure the Apache Subversion WebDav module, etc.
Import your Repository
svn import /path/to/import/directory file:///home/yourname/repository
If you have a repository ready, now is a good time to import it. If you are just starting out, you can initialize the Repository here.
Access to Subversion
||Direct access on local disk
||Browser using http WebDav protocol
||Browser using https secure and WebDav
||Subversion protocol and SSH tunnel
Configure WebDav protocol
sudo vi /etc/apache2/apache2.conf
<LimitExcept GET PROPFIND OPTIONS REPORT>
Change Ownership to HTTP-User
sudo chown -R www-data:www-data /home/yourname/repository
Password Protect the Repository
sudo htpasswd -c /etc/subversion/passwd username
You will be asked to provide a password. Enter the password twice.
Reboot Apache Server
sudo /etc/init.d/apache2 restart
It’s probably a good idea to restart the Apache server one more time.
Next, open up your browser and access http://localhost/svn from the address bar. You will be asked for the username and password. You should see the repository and any content or directory underneath it. That’s it. Happy coding.