Skip to Main Content
Linux Server Security, Second Edition
book

Linux Server Security, Second Edition

by Michael D. Bauer
January 2005
Intermediate to advanced content levelIntermediate to advanced
544 pages
23h 44m
English
O'Reilly Media, Inc.
Content preview from Linux Server Security, Second Edition
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
238
|
Chapter 8: Database Security
You might also consider LDAP (Chapter 7). If your main use of a database is for user
authentication and you don’t need SQL, LDAP may be a faster and simpler solution.
Types of Security Problems
The problems a database server may encounter should sound familiar:
Server compromise. Any software, especially code written in languages such as C
or C++, has the potential for buffer overflows, format-string attacks, and other
exploits that are by now all too familiar. And software written in any language
has logic errors and plain old blunders.
Data theft. Data can be extracted from the database even if everything seems to
be configured well. It just takes one logical error or an overly permissive access
control.
Data corruption or loss. The person in the mirror may do as much damage inad-
vertently as the hooded and cloaked database vandal does by design.
Denial of Service. MySQL is fast but does not always degrade gracefully under
load. We’ll see how far it bends before it breaks, and how to prevent the latter.
Server Location
Where should you place a database server? The main factors are:
Who will access the database?
How important is the data?
Exposing a database directly to the public might earn you a call from the Society for
the Prevention of
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Linux Server Hacks

Linux Server Hacks

Rob Flickenger
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 0596006705Supplemental ContentCatalog PageErrata