Re: Password MDF
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Wed, 24 Oct 2007 17:41:58 +0200
Hi
It works perfectly if the user is the owner of the database. Look
that ?
? Create a new SQL login "login1"
? Create a user named ?login1? in master database
? Grant CREATE DATABASE to login1
? While impersonating login1, create a database called ?dbteste?
? Revoke CREATE DATABASE permission from login1
? Revoke VIEW ANY DATABASE permission from PUBLIC
? Register this server as login1
? From the ?login1? session, expand database tree. Now, you should see
master, tempdb, dbteste
? Grant VIEW ANY DATABASE to PUBLIC
? From the ?login1? session, you should see all the databases
"Julián Sanz García" <jsanz@xxxxxxxxxxxx> wrote in message
news:upUufJlFIHA.3672@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
¿Are there any way to protect a database that is reditributed with a
desktop application? I want to protect this database with an user and a
password, something like access, but with SQL Server 2005, if you have SQL
Server 2005 Management Studio, you can access without any problems and you
can see all database objects.
Thanks a lot
.
- Follow-Ups:
- Re: Password MDF
- From: Julián Sanz García
- Re: Password MDF
- References:
- Password MDF
- From: Julián Sanz García
- Password MDF
- Prev by Date: Password MDF
- Next by Date: Re: Password MDF
- Previous by thread: Password MDF
- Next by thread: Re: Password MDF
- Index(es):
Relevant Pages
|
|