NTFS Permisions archives - SQL Server with Mr. Denny

SQL Server with Mr. Denny:

NTFS Permisions

Aug 6 2009   11:02AM GMT

What do you mean I can’t access my own database when trying to attach it?



Posted by: mrdenny
SQL Server, SecurityFightClub, Database security, Attaching Database, NTFS Permisions

When you detach a database from Microsoft SQL (I’m talking SQL Server 2005 and up here) the SQL Server automatically changes the NTFS permissions on the file so that only the user who told the SQL Server to detach the file has access to them.  SQL Server does this to ensure that an unauthorized person isn’t able to access the data files. Continued »