Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2003, 10:45 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default encrypt / protect database

Hi all

I´d like to encrypt or protect one sqlserver 2K data base.

The problem is that I have to install the database in a computer client but I´d like that he can´t change o see the structure of the data base, only use it.

Is this possible??? if it is, how?

Thanks and regards

 
Old October 17th, 2003, 11:14 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

give only select permission to user by the sql server enterprise manager.
go to database user, select user and right click, click permission and select
object and check the select.
 
Old October 18th, 2003, 05:33 PM
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes but the admin of the client machine can change these permissions to take total control on the database so he´ll be able to change whatever he wants

 
Old October 18th, 2003, 05:37 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you are trying to hide the table structure, you really can't. Now if you are trying to hide the views and stored procedures, you can encrypt them. Word of caution, do not forget the password for encryption.

Sal




Similar Threads
Thread Thread Starter Forum Replies Last Post
how i encrypt password and store it into database? qiux General .NET 2 March 9th, 2008 10:26 PM
encrypt database skajani ASP.NET 1.0 and 1.1 Professional 1 August 7th, 2006 02:48 PM
Encrypt data in database acdsky Classic ASP Databases 0 January 24th, 2006 05:18 AM
About Column Encrypt jabby SQL Server 2000 2 November 30th, 2004 11:57 AM
How to protect the database Xanoo Classic ASP Databases 1 July 6th, 2003 04:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.