PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.setup > how to secure a sql 2005 database?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ms.sqlserver.setup Questions about SQL Server.

how to secure a sql 2005 database?

Réponse
 
LinkBack Outils de la discussion
Vieux 02/11/2006, 22h01   #1
Jay B
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how to secure a sql 2005 database?

Hi,
I was wondering if there is a way to secure a sql 2005 database.
i want to distribute an app and would prefer that any customers not be
able to get into the database and make changes to structures, or
basically steal the database design, especially if i distribute a trial
version.

it seems that if someone has access to a standard sql server, anyone
could attach any database and see what's in it, takeover control etc.

how is everyone else securing their stuff?

thanks in advance. Jay
  Réponse avec citation
Vieux 03/11/2006, 06h55   #2
Dejan Sarka
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to secure a sql 2005 database?

> I was wondering if there is a way to secure a sql 2005 database.
> i want to distribute an app and would prefer that any customers not be
> able to get into the database and make changes to structures, or


Use DDL triggers that roll back any change.

> basically steal the database design, especially if i distribute a trial
> version.


Why do you think anybody is going to steal your design? Do you think it is
something special? I doubt. Check, for example, free models at
http://www.databaseanswers.org/data_models/index.htm and books by Len
Silverston
(http://www.amazon.com/s/ref=nb_ss_gw...en+silverston).

> it seems that if someone has access to a standard sql server, anyone could
> attach any database and see what's in it, takeover control etc.


Not anyone, only administrators. And this is correct. Your customers will
have their data in the database, not yours; they need access to their own
data, for example for reporting. Therefore, you should not hide the schema;
even more, a well done application should include documentation, including
the database schema.


--
Dejan Sarka
http://www.solidqualitylearning.com/blogs/



  Réponse avec citation
Vieux 03/11/2006, 16h43   #3
Rick Byham, MS
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to secure a sql 2005 database?

You can encrypt the stored procedures so even the system administrators
cannot see them. See example F at
http://msdn2.microsoft.com/en-us/library/ms187926.aspx
Once encrypted you can't un-encrypt it, so you are responsible for having a
backup of the procedure text.
--
Rick Byham, MS
This posting is provided "AS IS" with no warranties, and confers no rights.

"Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@avtenta.si > wrote in
message news:OD9qYUx$GHA.1224@TK2MSFTNGP04.phx.gbl...
>> I was wondering if there is a way to secure a sql 2005 database.
>> i want to distribute an app and would prefer that any customers not be
>> able to get into the database and make changes to structures, or

>
> Use DDL triggers that roll back any change.
>
>> basically steal the database design, especially if i distribute a trial
>> version.

>
> Why do you think anybody is going to steal your design? Do you think it is
> something special? I doubt. Check, for example, free models at
> http://www.databaseanswers.org/data_models/index.htm and books by Len
> Silverston
> (http://www.amazon.com/s/ref=nb_ss_gw...en+silverston).
>
>> it seems that if someone has access to a standard sql server, anyone
>> could attach any database and see what's in it, takeover control etc.

>
> Not anyone, only administrators. And this is correct. Your customers will
> have their data in the database, not yours; they need access to their own
> data, for example for reporting. Therefore, you should not hide the
> schema; even more, a well done application should include documentation,
> including the database schema.
>
>
> --
> Dejan Sarka
> http://www.solidqualitylearning.com/blogs/
>
>
>


  Réponse avec citation
Vieux 04/11/2006, 00h10   #4
Jay B
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to secure a sql 2005 database?

thanks for the link. that's why i rather keep my stored procedures in
my own source code, then pass it thru to sqlexec to execute.
i have greater control of it. executes just as fast.

i'm pretty paranoid about some of my creations, i develop apps to sell,
not for clients to take over the database. so i need to protect my
rights. its like quickbooks turning over their internal structures,
which they really don't, but provide an api to export data out. i will
do the same or just provide views for the user to use. that's what ADP
does. you never see adp's internal structures.

so are you saying that i can't create a user and make that user the only
valid user to get into the database, and unless you know the password,
even admins, you cant open the database at all. i would hardcode the
pwd in my program of course for it to open the tables.

what do you think?
Jay

Rick Byham, MS wrote:
> You can encrypt the stored procedures so even the system administrators
> cannot see them. See example F at
> http://msdn2.microsoft.com/en-us/library/ms187926.aspx
> Once encrypted you can't un-encrypt it, so you are responsible for
> having a backup of the procedure text.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h29.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12135 seconds with 12 queries