Saturday, October 17


Linux, PCI Compliance, Security, Server

Removing DS_Store files on Linux Server

If you use an Apple machine and work on a Linux server, sooner or later, you are going to get a PCI Compliance warning that you are using hidden files in your files directory, and they consider that a PCI Compliance no no.  This will surely get you flagged on this item so its best to remove them from the server. When you navigate the Apache folders, your Mac will leave behind the .DS_STORE files in the directories.  This also happens if you upload files and directories from your Mac to the server via FTP.  What are these files?  They are used by the Mac to remember how you opened a file and to display what view should be used in the future for reopening that file or folder. The .DS_Store files that are written to the web server folders can contain the file names that are on the serve...
Linux, Server

Rsync Transferring Files between Servers

If you need to upload the same pictures to a different directory on a server or copy files from server to a different server, there is a much easier method than duplicating your work. Simply use the Rsync command. Wikepedia defines rsync as a software application for Unix systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in each di [level-premier-free]rection. rsync can copy or display directory contents and copy files, optionally using compression and recursion. In daemon mode, rsync listens to the default TCP port of 873, serving files in the native rs...