13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Next<br />

359<br />

Physical Security<br />

The security threats we have considered so far relate to intangibles such as software, but<br />

you should not neglect the physical security of your system.You need air conditioning<br />

<strong>and</strong> protection against fire, people (both the clumsy <strong>and</strong> the criminal), power failure, <strong>and</strong><br />

network failure.<br />

Your system should be locked up securely. Depending on the scale of your operation,<br />

your approach could be a room, a cage, or a cupboard. Personnel who do not need<br />

access to this machine room should not have it. Unauthorized people might deliberately<br />

or accidentally unplug cables or attempt to bypass security mechanisms using a bootable<br />

disk.<br />

Water sprinklers can do as much damage to electronics as a fire. In the past, halon fire<br />

suppression systems were used to avoid this problem.The production of halon is now<br />

banned under the Montreal Protocol on Substances That Deplete the Ozone Layer, so<br />

new fire suppression systems must use other, less harmful, alternatives such as argon or<br />

carbon dioxide.You can read more about this issue at http://www.epa.gov/Ozone/snap/<br />

fire/qa.html.<br />

Occasional brief power failures are a fact of life in most places. In locations with<br />

harsh weather <strong>and</strong> above-ground wires, long failures occur regularly. If the continuous<br />

operation of your systems is important to you, you should invest in an uninterruptible<br />

power supply (UPS). A UPS that can power a single machine for up to 60 minutes costs<br />

less than $200 (U.S.). Allowing for longer failures, or more equipment, can become<br />

expensive. Long power failures really require a generator to run air conditioning as well<br />

as computers.<br />

Like power failures, network outages of minutes or hours are out of your control <strong>and</strong><br />

bound to occur occasionally. If your network is vital, it makes sense to have connections<br />

to more than one Internet service provider. Having two connections costs more but<br />

should mean that, in case of failure, you have reduced capacity rather than becoming<br />

invisible.<br />

These sorts of issues are some of the reasons you might like to consider co-locating<br />

your machines at a dedicated facility. Although one medium-sized business might not be<br />

able to justify a UPS that will run for more than a few minutes, multiple redundant network<br />

connections, <strong>and</strong> fire suppression systems, a quality facility housing the machines of<br />

a hundred similar businesses can.<br />

Next<br />

In Chapter 16, we take a further look at web application security.We look at who our<br />

enemies are <strong>and</strong> how to defend ourselves against them; how to protect our servers, networks,<br />

<strong>and</strong> code; <strong>and</strong> how to plan for disasters.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!