Laurentiu Cristofor's blog @microsoft.com
Current topics: Security, SQL Server, bing
SQL Server
(RSS)
SQL Server topics
Finding information about which account xp_cmdshell is running as
If you ever needed to debug a permission related issue when using xp_cmdshell, you have probably realized that a crucial piece of information is about what particular account xp_cmdshell is executing under. If you are the administrator of the database,
Read More...
SQL Injection watch blog
I was looking for information on a new SQL injection attack when I stumbled upon this very useful blog: http://s3cwatch.wordpress.com/ . It's worth a look from time to time, to get an idea of what attacks are going on in the wild.
Read More...
Basic SQL Server Security concepts: ownership, CONTROL, TAKE OWNERSHIP
I realized today that while I have discussed earlier object permissions , I have not gone into the details of object ownership. I want to cover the following here: ownership of objects, how it can be changed, and the relatively new permission CONTROL
Read More...
SQL Server: Windows Groups, default schemas, and other properties
Exceptions are dangerous because people like to simplify their thinking process using rules, so exceptions always carry the risk of being overlooked. In security, exceptions are a bad thing because they make the model more complex and complex systems
Read More...
SQL Server 2005: How to debug login failures (18456, anyone?)
In my series of new posts on old topics, I decided to gather today several pieces of information that I think will help in debugging SQL Server login failures. Although most information should remain useful for future versions as well, some of it may
Read More...
How to request features in Microsoft products
I want to address the topic of requesting feature changes in Microsoft products, to point to some tools that can help, and to describe ways to use those tools more effectively. This post is based on my experience working on customer requests while being
Read More...
SQL Server 2005: How to debug errors in code that does encryption
Encryption builtin functions in SQL Server have no known issues and, if used properly, they will produce the expected results. However, if they are used incorrectly, it can be hard to figure out what exactly is the problem, so in this post I am going
Read More...
SQL Server 2005: A great post by Aaron Morton about using MARS to access opened keys
Aaron Morton has a very interesting post and demo that show how MARS can be used to access keys temporarily opened by a procedure. This is a must-read for anyone that is interested in implementing custom restrictions around the use of encryption keys.
Read More...
SQL Server 2005: Why you should not encrypt data with certificates
I often recommended to only encrypt data in SQL Server using symmetric keys and to reserve the use of asymmetric encryption for protection of symmetric keys and for signing. In this post, I will go in more detail about why asymmetric encryption is not
Read More...
SQL Server 2005: How to determine the size of a column that will hold encrypted data
This issue has been addressed before on forums, but with the heavy traffic, it can be hard to find the proper post. So, I'll provide some explanations here as well. Note: This article is written with symmetric encryption in mind, but the actual technique
Read More...
SQL Server 2005: Restoring the backup of a database that uses encryption
I have addressed this topic in previous threads and comments ( here , here , and here , for example), both on this blog and on various forums, but it looks like when you need the answer, it can be hard to dig out. So I'm hoping that by placing these steps
Read More...
SQL Server 2005: How to recover when the service master key (SMK) is not accessible
I wrote earlier today a reply on this topic on the public forums, but now that I checked, the reply appears to have got lost, although I still entertain the hope it may only have got delayed and will appear there in 24 hours. Anyway, this is the reason
Read More...
SQL Server undocumented password hashing builtins: pwdcompare and pwdencrypt
First, I must say that I don't know why these exist in an undocumented form. They have been around for a long time and a search on their names gets me back pages of hits. Being undocumented means that their actual implementation may change slightly from
Read More...
Basic SQL Server Security concepts: SIDs, orphaned users, and loginless users
I am grouping here two topics (orphaned users and loginless users) that are actually very different, but I have often seen confusion between them, so I am covering them together in an attempt to dispel that confusion. In a previous discussion of logins
Read More...
SQL Server 2005: A note about the use of certificates
To avoid any confusion, this post is not about the use of certificates for securing the communication between a client machine and the server; instead, this refers to the use of certificates created via the CREATE CERTIFICATE DDL. I am prompted in writing
Read More...
More Posts
Next page »
Search
This Blog
Home
About
These posts are provided "AS IS" with no warranties, and confer no rights.
Tags
announcements
basic SQL Server security concepts
bing
computer security
encryption
Microsoft products
search engines
software engineering
SQL Server
SQL Server - cryptography
SQL Server - general
SQL Server - security
Archives
October 2009 (3)
August 2009 (2)
July 2009 (1)
June 2009 (1)
August 2008 (2)
June 2008 (1)
May 2008 (1)
April 2008 (1)
March 2008 (1)
February 2008 (5)
January 2008 (4)
November 2007 (2)
October 2007 (4)
September 2007 (3)
July 2007 (1)
April 2007 (2)
March 2007 (1)
February 2007 (2)
December 2006 (1)
November 2006 (1)
October 2006 (3)
July 2006 (2)
May 2006 (1)
April 2006 (2)
March 2006 (2)
January 2006 (1)
December 2005 (5)
October 2005 (3)
September 2005 (5)
July 2005 (1)
June 2005 (4)
Security related links
NSA Security Configuration Guides
Bruce Schneier's blog
Bruce Schneier's Crypto-Gram newsletter
RISKS Digest
Software engineering links
Motley says
SQL Server security links
Raul Garcia's blog (SQL Server Security)
SQL Server Security Team blog
SQL Server Security forum on MSDN
SQL Injection Watch List
Useful Microsoft links
Product Feedback site
Microsoft Technical Forums
Security Vulnerabilities reporting site
Security Development Lifecycle blog
Secure Windows Initiative blog
Microsoft Security Advisories
Syndication
RSS 2.0
Atom 1.0