a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 125|回复: 0

[考试辅导] 关于保护SQLServe中数据安全的数据库安全选项

[复制链接]
发表于 2012-8-3 00:05:24 | 显示全部楼层 |阅读模式
With all the hype stirred up by high-profile database breaches and the dozens of privacy and security regulations, there's a new how-to dilemma for SQL Server developers and DBAs coming on strong from owners. They're asking:
9 j% L( o4 U& Q5 Y) b9 z" r
/ Y9 G7 s8 w6 D7 g8 NHow are you protecting sensitive data in the database? What encryption method are you using for your database? How are you separating our data from that of others? We have lots of different clients – can you encrypt each data set? (the worst question of them all)
  s/ C1 f& K2 f! z4 j/ P" VAs wacky as these questions seem, they're being asked, and you'll need to know how to respond whether you're an independent software developer, work for a large enterprise, or fall somewhere in the middle. " S& Q5 Z3 L; y) M/ S1 D6 \, E0 h
Many of those requesting database separation and encryption are going into this blindly. They're getting pressure from auditors, managers, salespeople, or customers who don't understand how databases security works. Many believe separating data sets and enabling database encryption are as easy as flipping a switch. They don't realize what DBAs and developers are up against. There are performance requirements, code re-writes, necessary system upgrades, implementation of third-party controls, system maintenance, and so on. Needless to say, all of this comes at a price which is often a hard pill to swallow for the very people demanding it.
6 p9 j  f7 q& M! ]# U+ p/ w4 o5 \' iI've never been an alarmist when it comes to database separation and encryption, but there's no denying the facts; The database is where the gold lies and the bad guys are going to go for their highest payoff when attacking your systems. If a database is not adequately protected, so much is at the attacker's disposal.
# D' [0 Q! B( u% |6 \4 `% RYou've got a lot of options for database separation and encryption. You can upgrade to SQL Server 2005, write your own homegrown encryption mechanism, or deploy a third-party encryption system. You can also:
/ \7 v! s  L+ d6 ]# e/ O( kCreate a unique database for each customer (ouch!) Setup a unique application and database server for each customer (can you say $$$!?) Setup (and manage) different user accounts for different databases and tables (yuck!) Establish a unique encryption key for each user so that only they can access their data stored in the database (way easier said than done!)+ w: K  p8 i2 D
But none of these completes the whole picture. There are so many variables involved. The problem with most database security techniques is that if the front-end application or authorized SQL Server account can access and decrypt sensitive data, then so can an attacker who's performing SQL injection or who may have broken in by cracking a weak password. For the most part, this applies regardless of whether you have a single database on one server or multiple databases spread across various systems. Bottom line – if your front-end applications are weak, the sensitive data in your database is still going to be at risk.
6 i- w0 `9 N7 u: J+ qWhat I'm trying to say is that database security controls such as separation and encryption aren't going to be easy or cheap. One thing's certain though – it's almost guaranteed that if you're storing sensitive and personal data in your database, people are going to start asking what you're doing to protect it. You don't want to get caught off-guard with this. Look at what would be involved in implementing these additional database security controls. Explain to them your approach, how you're partitioning each database, encrypting sensitive information and so on. Or, give them the reasons you're not. Follow up with other controls you have in place that reduce the need for database separation and encryption such as input filtering, strong authentication, and even whole disk encryption in the event your entire database server or hard drives are stolen. Also, don't overlook the value of ongoing penetration tests utilizing good tools combined with manual assessments. There are also formal database security audits using tools such as AppDetective and NGSSQuirreL, and even source code analysis tools such as those offered by Compuware, Ounce Labs, Fortify Software, SPI Dynamics, and Klocwork for your applications
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-12 01:00 , Processed in 0.948205 second(s), 32 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表