November 29, 2011 at 4:57 pm
Hi all,
My question is if someone have access to mdf and ldf file of a DB, is it enough for him to access everything? for example can he then create a SQL or Access database and access the data??
Regards,
Amir
November 29, 2011 at 5:02 pm
Yes, with exceptions. Under standard circumstances (no TDE, san encryption, etc) then yes, a non-corrupt mdf can be completely restored elsewhere. You may get slight data loss or corruption if the file was copied during usage, but not severe enough that you'd consider it safe.
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA
November 29, 2011 at 5:11 pm
Without encryption, if I can get your .mdf and .ldf (and any .ndf files) for a given database, then I can attach the database as long as I have the same version or newer of SQL Server. I don't even have to go through a restore process (just for clarification).
This is a known issue with administrators over the system where SQL Server is installed. Even if you remove their access from within SQL Server, if they are able to stop SQL Server (which they can as administrators), they can then get the files at rest. This is why TDE is so attractive: minimum performance hit and the files at rest are encrypted.
K. Brian Kelley
@kbriankelley
November 29, 2011 at 5:19 pm
Thanks for your precise answers ...
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply