Monthly Archives: October 2010

5 cool things you can do with SSH besides logging in

You probably already know ssh and that you can use it to log on to remote machines with “ssh user@example.com.” Type in the password and It Just Works™. But that’s not all you can do. You can also… Transfer files. The OpenSSH client comes with the file transfer programs sftp and scp. They use the [...]

Introducing nc – the network “cat”

No, not lolcat, netcat. Ever wanted to see how exactly a web server responds to a HTTP request, intercept and study the network traffic of a client-server program, or transfer files over a network? Well, you’ll love netcat. You give it a hostname and a port, and it connects stdin and stdout to the socket [...]

The wonders of multicast DNS

“Every release of Ubuntu is more like the Mac.” That’s what one of my coworkers said when I pointed out that you no longer need to pass around IP addresses for copying files from one workstation to another on the LAN. The machines announce themselves on the LAN by multicast DNS. This means that you [...]

Tutorial: Role-Based Access Control with CakePHP

In an earlier post I talked about access control with CakePHP‘s AclComponent and how it might be used for the simple-yet-powerful roled-based access control, where users can have multiple roles and permission checks are reduced to verifying if the user has a certain role. In this tutorial we’ll add role based access to the CakeBB sample app. It [...]