Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Database Owner
Dear friends

I have a question,please help me.
I have a database and one of my database user is the owner of my database.
If i detach my database , i can attach it on other instance of SQL SERVER
with user of 'sa'.I want to stop this action in term of security.

Thanks
Mehdi


Report this thread to moderator Post Follow-up to this message
Old Post
Mehdi
07-27-05 08:23 AM


Re: Database Owner
Hi,

SA is the system administrator and you cant restrict the permissions to
attach the database.

Thanks
Hari
SQL Server MVP

"Mehdi" <Mehdi@discussions.microsoft.com> wrote in message
news:E312383F-AB28-4B51-BE85- 59B605BE118F@microso
ft.com...
> Dear friends
>
> I have a question,please help me.
> I have a database and one of my database user is the owner of my database.
> If i detach my database , i can attach it on other instance of SQL SERVER
> with user of 'sa'.I want to stop this action in term of security.
>
> Thanks
> Mehdi
>



Report this thread to moderator Post Follow-up to this message
Old Post
Hari Prasad
07-27-05 08:23 AM


Re: Database Owner
However, AFTER you've re-attached the database you can change the
database owner using sp_changedbowner.

ALI

Hari Prasad  wrote:[color=darkred
]
> Hi,
>
> SA is the system administrator and you cant restrict the permissions to
> attach the database.
>
> Thanks
> Hari
> SQL Server MVP
>
> "Mehdi" <Mehdi@discussions.microsoft.com> wrote in message
> news:E312383F-AB28-4B51-BE85- 59B605BE118F@microso
ft.com... 


Report this thread to moderator Post Follow-up to this message
Old Post
zashah@gmail.com
07-27-05 08:23 AM


Re: Database Owner
You can achieve this security target only outside of SQL - restricting the
access to the detached database files. If someone can get access to those
files - he has access to the data inside, no way to prevent it.

Encryption of database files would be appropriate here - but it is not
available in SQL - only network communication and procedure bodies can be
encrypted.

Cheers
Wojtek


"Mehdi" <Mehdi@discussions.microsoft.com> wrote in message
news:E312383F-AB28-4B51-BE85- 59B605BE118F@microso
ft.com...
> Dear friends
>
> I have a question,please help me.
> I have a database and one of my database user is the owner of my database.
> If i detach my database , i can attach it on other instance of SQL SERVER
> with user of 'sa'.I want to stop this action in term of security.
>
> Thanks
> Mehdi
>



Report this thread to moderator Post Follow-up to this message
Old Post
Wojtek Garwol
07-28-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 12:33 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006