SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Is accessing MDF and LDF file enough to steal data?


Is accessing MDF and LDF file enough to steal data?

Author
Message
amirhh2000
amirhh2000
SSC Rookie
SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)

Group: General Forum Members
Points: 36 Visits: 98
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
Evil Kraig F
Evil Kraig F
SSCrazy Eights
SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)SSCrazy Eights (8.6K reputation)

Group: General Forum Members
Points: 8599 Visits: 7660
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.


- Craig Farrell

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 | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
K. Brian Kelley
K. Brian Kelley
Keeper of the Duck
Keeper of the Duck (10K reputation)

Group: Moderators
Points: 10262 Visits: 1917
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
amirhh2000
amirhh2000
SSC Rookie
SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)

Group: General Forum Members
Points: 36 Visits: 98
Thanks for your precise answers ...
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