Categories


Loading feed
Loading feed
Loading feed

PHP Security Tip #19


Sometimes, the best application security you can install is simply disconnecting the network cable from your server. Ok so in the real world it’s not really feasible. Thinking about it though starts you down a path that can lead to better application security.

When considering security you have to consider the hardware as well as the software. Today’s security tip comes to us from Chris Hartjes.

The most secure application is one with no connection to the outside world.

As we’ve covered, you can’t really disconnect the network from your web server if you are building web applications. You can however, carefully consider which servers need to be connected to the outside world and which can be inside your firewall. Beyond that, you can also evaluate how those servers that have to remain outside your firewall communicate with the ones inside.

Session Hijacking, XSS, and XSRF are all serious problems for developers and I don’t mean to minimize them. However, in many of cases, they are a means to an end. For most hackers, the pot of gold at the end of the rainbow is your database. The worst problem we as developers face today is having our application hacked, our database compromised and information that has been trusted to us by our users starting to spill out into the Net.

One simple (to explain) way to make that a little harder is to move your database server behind your firewall and limit access to it. Once you get going down this road, you will find other ideas to help secure your entire system.

This is just a short tip to get you thinking, it’s not a network security primer. I’ll leave it to you to find your quiet place today and for just a moment or two, review in your head how your physical network is structured. Think about how things are connected and consider if there’s anything you can do to make them all more secure.

Got a security tip you would like to share? Click on the Contribute link in the upper right corner.

Comments


Thursday, March 29, 2007
SHARED HOSTS
11:48AM PDT · breich
XSR?
1:07PM PDT · Anonymous User [unregistered]
XSRF
2:01PM PDT · Cal Evans (editor)
Friday, March 30, 2007
AGREEMENT WITH BREICH...
12:34PM PDT · pr0teus666
Saturday, October 6, 2007
TALKING OUT THEIR "BACKEND"
2:35PM PDT · MarkGiblin
Sunday, June 15, 2008
HINT
11:05PM PDT · Anonymous User [unregistered]