Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Hack Resistant?


Hack Resistant?

Author
Message
Steve Jones
Steve Jones
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: Administrators
Points: 40671 Visits: 18851
Comments posted to this topic are about the item Hack Resistant?

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Yet Another DBA
Yet Another DBA
SSC Veteran
SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)SSC Veteran (255 reputation)

Group: General Forum Members
Points: 255 Visits: 1222
Hack resistant databases in the UK??

Some of the software houses that I have come across in the past don't know anything about protecting the data or personal information. Only when there has been the threat of prison did one company remove the list of 800K credit cards that weren't being used from the database.
Vijay Mils
Vijay Mils
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 104
The service accounts that your web sites use to connect to the SQL database, can be locked down to only permit stored procedure execution, and of course, those procs must be written to validate input parameter values. So with the right precautions, SQL injection vulnerability can be reduced.
TDE of course, protects your data at rest, ie if someone gets ahold of the MDF file.
Nice article, thanks Steve!
lshanahan
lshanahan
Old Hand
Old Hand (340 reputation)Old Hand (340 reputation)Old Hand (340 reputation)Old Hand (340 reputation)Old Hand (340 reputation)Old Hand (340 reputation)Old Hand (340 reputation)Old Hand (340 reputation)

Group: General Forum Members
Points: 340 Visits: 436
Oddly enough, there's a lot out there on the web about preventing SQL injection attacks, but to be honest, I see a lot of pages either giving very generic guidelines or trying to sell something, and sites that give really good examples and procedures seem to be more exception than rule.

Not saying you *can't* find good documentation on the subject and yes, there are a lot of parts and pieces to the issue, but I would like to see more practical tutorials rather than simply stating "use stored procedures" or "validate user input" without explaining how to achieve these things.

Being someone who has learned SQL the hard way - by researching and doing, I can tell you web resources are invaluable to someone like me. I've found some good, practical web pages on the subject, but in my experience it takes a bit of digging. Your mileage may vary.

Maybe a good subject for one of the gurus here on SSC to do a "Stairway" series?

____________
Just my $0.02 from over here in the cheap seats of the peanut gallery - please adjust for inflation and/or your local currency.
jay-h
jay-h
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1128 Visits: 2253
On a completely side point, the person who posted the photograph appeared not fully understand the function of that lock structure. The extra locks are not to make it tougher to break in, but to assure that all the key holders are present to open the gate. This could be for safety (make sure no workers are unaccounted for before turning equipment on) or to be sure that everyone responsible for that area is actively aware it is open.

Lessons in there for software too.

...

-- FORTRAN manual for Xerox Computers --
chrisn-585491
chrisn-585491
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1172 Visits: 2378
I assume the NSA and other governments have access to my systems and databases already, thanks to Microsoft and peers in the industry. So security really isn't much of an issue anymore...

:-P
Eric M Russell
Eric M Russell
SSCertifiable
SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)

Group: General Forum Members
Points: 6118 Visits: 10009
Based on news stories, it seems to me that the vast majority of data breaches, and the ones that the most massive in scale, are the result of inadequate role based security. That's what happened with the NSA and military breaches.
Where I work, the permissions for service accounts or domain groups are segmented into roles based on least set of privillages required for their function. We also implement symmetric key encryption on PHI columns, so even those accounts with direct access to tables (like DBAs or BI reporting) can't see actual SSN, address, phone, etc.


"The universe is complicated and for the most part beyond your control, but your life is only as complicated as you choose it to be."
FunkyDexter
FunkyDexter
SSC Veteran
SSC Veteran (200 reputation)SSC Veteran (200 reputation)SSC Veteran (200 reputation)SSC Veteran (200 reputation)SSC Veteran (200 reputation)SSC Veteran (200 reputation)SSC Veteran (200 reputation)SSC Veteran (200 reputation)

Group: General Forum Members
Points: 200 Visits: 1066
As a dev I'm always stunned when I come across a system that's vulnerable to sql injection given that it's such an easy gap to close. Just don't build up sql strings by concatenating in parameter values. Use proper ado parameters. Unless you're using dynamic sql that's all you need to do, whether you're calling sprocs or using sql direct. Of course, that's a .net centric view of the world but all other major languages support an equivalent.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search