These days I had to reinstall Ubuntu to switch to version 18.04 LTS. I preferred to reinstall from scratch to avoid compatibility issues with old and obsolete packages repository. Since the directory / home / well over 700GB and I have available a NAS (in realtà una piccola Linux Read more…
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, the Read more…
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 several similarities to 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 sufficient to look inside the graphical tool in use to the distribution. (more…)
Today we see a small program in PHP on that adapts well 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