|
|

2 Ways to Lock Down Database Servers
By David Strom
2008-02-21
Article Views: 346
Article Rating:    / 0
| Rate This Article: |
|
| Add This Article To: |
|
|
SQL injections are one of the most common hacking exploits against enterprise networks. These two relatively simple best practices can reduce risk exposure by cutting off the low-hanging fruit in SQL server vulnerabilities. 1. Remove Potential Back Doors
While SQL injection comes in through the front door, you must still practice safe computing and treat database servers as yet another operating system that requires hardening—the same way you treat your other servers.
Heed these precautions:
- Delete all sample files and applications on your production servers
- Shun ‘local-host only’ security, especially on proxies
- Check what gets changed when you upgrade
- Eliminate stored procedures that aren’t used to support applications
- Isolate database servers from the Internet
- Prevent direct connection to the database server on vulnerable ports (such as TCP port 1433 and UDP port 1434)
- Ensure that the database server cannot connect to the Internet on vulnerable ports, such as TCP ports 21, 80, 139, 443, 445 or 1433 and UDP port 53.
2. Validate Input Scripts and Strings Sent to the Database
Developers can’t test everything. But you can look at your Web scripts and programs and test them for exploits.
- Do you have range limits for all queries?
- Do you have appropriate access rights for all users, including default rights for Web users?
- Do you apply input-validation checks for all places that accept input from the Web?
One common mistake is neglecting to check stored procedures, erroneously thinking they are outside the bounds of SQL injection. Wherever possible, restrict access of Web-based applications to stored procedures and filter the data passed to them to eliminate potential exploits.
|
|
 |
 |
 |
| FEATURED VIDEOS |
The Nick for NAC
eWEEK Channel Insider Technology Editor Frank Ohlhorst explains how VARs are about to get lucky. NAC is evolving, and it is evolving in such a way that hardware constraints are quickly being eliminated and NAC bundled with other security solutions is becoming a major opportunity, that should become a lot easier to sell and support.
Will Recession Hit the Channel?
Fears of a possible recession have VARs and solution providers taking steps to prepare their customers.
|
|
Sponsored by
| |
|
| DOWNLOADABLE ROI CALCULATORS & TOOLS FROM BASELINE |
Calculate Cost and ROI of Spam, VOIP, RFID, Sarbanes-Oxley and more...
Featured Calculators:
See More Tools!
By Category| Planners |Calculators | Quizzes
|
| | |
|
|