Re: How to protect SQL Server Express database from reverse engineerin



Leto (Leto@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
We ship SQL Server Express with our application. I would like to
prevent anyone from reverse engineering our database. The names of the
tables, names of the columns, relationships, and data they contain
represent a large part of our intellictual property and there doesn't
seem to be any way to protect it. Is there any way to obfuscate this or
lock the local system administrator out of the database? We use a lot
of stored procs so Compact Edition is not an option.

That is correct, there is no way to this. You can add the WITH ENCRYPTION
clause to stored procedures, views and triggers, but that is no real
encryption, but only obfustication, and it takes a Google search to
find out how to resurrect the source code.

As for tables, you can always make things difficult by using cryptic or
misleading names, but that is far as you can go.

Instead, you need to talk to a lawayer, to help you to write a license
agreement which disallows the user within reasonable limits to sticking
in his nose. I say within reasonable limits, because within three years
the application may be very important to the user, and he runs into a
problem, whereas your company has evaporated into the blue.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Problem with my SQL 2000 Maintenance plans.
    ... I wouldn't use maint plan for this. ... using the most recent update of Books Online). ... If you do have a problem in the database, you want to be alerted so you can do ... >> option will most probably be removed in next version of SQL Server. ...
    (microsoft.public.sqlserver.server)
  • Re: Setting Up SQL Security
    ... want that user to have complete access to a database. ... But if it's impedient that no information whatsoever is ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: sp_fkeys stored procedue is very slow
    ... tables and columns that 'table1' depends on ... Are there many tables in the database? ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: how to create database
    ... ' Connection string, change server and database! ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.data.oledb)
  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)