Solved

Security issues

Posted on 2004-04-30
4
285 Views
Last Modified: 2012-08-13
Hi,

I'm using msde2000. In my app i'm using sql security for the databases. I also provide functions in the application for backup and restore.
My backup function, calls the this sql command:  backup database <dbname> to disk = 'fisicalpath'
where fisicalpath is often on a removeable device like pendrive or zipdisks.

On target machine i disabled the trusted connection by denying access to any windows user (particullary BUILTIN\Administrators) so the user can't access to database data directly.

But... If take the file and restore it on a different machine running sql server and it allows me to access any data in the database without any password. Is there a system to protect unautorized access to mdf file even after restore?
0
Comment
Question by:Dav_ix
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 34

Expert Comment

by:arbert
ID: 10962683
Nope....you're at the mercy of the users/logins that are available on the target server....
0
 

Author Comment

by:Dav_ix
ID: 11527974

I resolved it by myself:

when backing up the database use the following t-sql statement:

backup database <dbname> to disk = 'fisicalpath' with password = 'mypasswordhere'

if you want to restore the database:

restore database <dbname> from disk = 'fisicalpath' with password = 'mypasswordhere'
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11560545
PAQd, 250 points refunded  the asker posted their solution

GhostMod
Community Support Moderator
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question