• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Securing you SQL Server - Denver, RMTT
 

Securing you SQL Server - Denver, RMTT

on

  • 849 views

Become aware of some commonly overlooked practices in securing you SQL Server databases. Learn about physical security, passwords, privileges and roles, restricting or disabling system stored ...

Become aware of some commonly overlooked practices in securing you SQL Server databases. Learn about physical security, passwords, privileges and roles, restricting or disabling system stored procedures and preventative best practices. And most importantly, discuss the most commonly used security threat: SQL

Statistics

Views

Total Views
849
Views on SlideShare
807
Embed Views
42

Actions

Likes
0
Downloads
16
Comments
0

4 Embeds 42

http://www.extofer.com 35
http://feeds.feedburner.com 3
http://extofer.blogspot.com 3
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Securing you SQL Server - Denver, RMTT Securing you SQL Server - Denver, RMTT Presentation Transcript

    •  
    • Securing your SQL Server Gabriel Villa email: [email_address] blog: www.extofer. com twitter: @extofer
    • About Gabriel
      • MCPD, ASP.NET Developer
      • MCTS, SQL Server 2008 Database Development
      • SQL Server 7, 2000, 2005 and 2008
      • .Net Developer VB.Net and C#
    • Outline to Securing SQL Server
          • Security Model
          • SQL Server Threats
          • Write Secure Code
          • Auditing
          • Passwords
          • Physical Security
          • Security Patches
          • Network Security
          • Best Practices Resources
    • “ Yes, I am a criminal. My crime is that of curiosity... My crime is that of outsmarting you, something that you will never forgive me for.” - The Mentor Written January 8, 1986
    • SQL Server Security Model
      • Principal
        • Windows Users
        • SQL Logins
      • Roles
        • Groups
      • Securables
        • Schemas
      Windows Users SQL Login Database Users DB Roles Schemas
    • Authentication
      • Windows Authentications
        • Active Directory Integration
        • Supports Groups
        • Use Whenever Possible
    • Authentication
      • Mixed Authentication
        • Legacy or Hard Coded Referenced Logins
        • Non Windows Clients
        • Connections over Internet
    • Authentication
    • Roles
      • Group users roles based on usage
      • Database Roles and Server Roles
      • Server Level Roles
        • Sysadmin, bulkadmin, securityadmin, dbcreator
    • Securables
      • Using Schema to secure database objects
        • Schema is a name space container
        • Simplify Access Permissions
      • Group objects into Schemas
      • Grant permissions to schemas, not objects
    • SQL Server Threats
      • Social Engineering
        • Manipulating people to gather data
        • Not using technical cracking tools or techniques
      • SQL Injection
        • Vulnerable to any RDBMS, not just MS SQL Server
        • Attacker post SQL commands via front end applications
        • Tools: ‘ , --, ;
    • SQL Injection
    • Write Secure Code
      • Check for Valid Input
      • DDL Triggers
      • Use Stored Procedures
      • Use Parameters
      • Customize Error Messages
        • Avoid errors returning securable names
      • Source Control
    • Auditing
      • Server and Database Level Events
        • Server Operations
        • Database Actions
      • Audit Failed Login Attempts
    • Passwords
      • DO NOT hardcode passwords
        • ASP.Net encrypt web.config
        • Encrypt password in your code
      • Strong Passwords
        • 6 to 8 minimum characters
        • Leak speak or special characters (i.e s = 5 or 3 = E)
      • SQLPing checks for default passwords
      • Change passwords frequently
    • Physical Security
      • Lock server room or rack when not in use
      • Restrict access to unauthorized individuals
      • If feasible, use security cameras
    • Security Patches
      • Second Tuesday of every month
      • Test updates or hotfixes immediately on non-production servers
      • Schedule patches soon after tested
    • Network Security
      • Avoid network shares on servers
      • Don’t surf the Web on the server
      • Only enable required protocols
      • Keep servers behind a firewall
    • Best Practices Resources
      • Encrypt your DB backups
        • third party tools
      • Restrict System Stored Proc’s and XP
      • Download HP Scrawlr
      • Discover Wizard
      • http://www.sqlservercentral.com/Books/
        • Defensive Database Programming by Alex Kuznetsov
        • Protecting SQL Server Data by John Magnabosco
        • SQL Server Tacklebox by Rodney Landrum
    • Questions??
        • Please evaluate this sessions at http://speakerrate.com/extofer
        • Slide Deck at http://www.extofer.com