GNU/Linux

Configure Apache after installation

A golden rule: You should never have to manage a website from your home directory. MAY. You should not give the web server the opportunity to go through the /home/ to see the directory structure, as well as all other subfolders. A poorly configured Web server, or not configured, or without patch can cause a huge loss of data, or loss of credentials, likely to put personal data and access of different users at risk. (more…)

By TheJoe, ago
GNU/Linux

Mount a remote device in tunneling “sshfs”

Several articles ago I explained how to mount a remote machine via FTP, so that the PC on which we operate is seen as a directory locale. The program used to establish the connection between the two machines is unpronounceable: "curlftpfs". Today we will do the same thing, but the protocol used will be the 'SSH. We will find a number of similarities with the article previously developed, one in all the impronunciabilità the software used: "sshfs". How much of the useful software, "sshfs" is directly installed via repository. It will be enough to look inside the graphical tool in use at the distribution. (more…)

By TheJoe, ago
Security

HTML Purifier per “purify” HTML l'

Today we see a small program in PHP ready to use and is well suited to any of our web pages. It is HTML Purifier a common libreria PHP, that cleans up the HTML dates of the pages by removing all tag e i markup unnecessary, that often weigh down the page. Also makes the code of our pages secure (I'm thinking about dynamic sites: WordPress, Joomla, Drupal, etc..) contrasting effectively XSS attacks (Cross-site scripting). For those who want to use HTML Purifier hand operation is more than obvious; downloaded and extracted the package we give write permissions the folder /HTMLPurifier/DefinitionCache/Serializer: (more…)

By TheJoe, ago