Re: Encrypt SQL Command to any SQL Server
From: Dejan Sarka (dejan_please_reply_to_newsgroups.sarka_at_avtenta.si)
Date: 03/01/04
- Next message: Pedro Gonçalves: "Re: Encrypt SQL Command to any SQL Server"
- Previous message: Dan Guzman: "Re: Encrypt SQL Command to any SQL Server"
- In reply to: Dan Guzman: "Re: Encrypt SQL Command to any SQL Server"
- Next in thread: Pedro Gonçalves: "Re: Encrypt SQL Command to any SQL Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 1 Mar 2004 15:43:02 +0100
Just a small addition - if you really need good encryption of your objects,
onsider using a 3rd party tool like
http://www.ecatenate.com/dblockdown_product_info.html.
-- Dejan Sarka, SQL Server MVP Associate Mentor Solid Quality Learning More than just Training www.SolidQualityLearning.com "Dan Guzman" <danguzman@nospam-earthlink.net> wrote in message news:uLnYMm5$DHA.2448@TK2MSFTNGP12.phx.gbl... > To add to the other responses, SQL Profiler will hide text that contains > sensitive commands like 'sp_password'. Consequently, you can include a > comment with this text in the batches you want to hide like the example > below. > > Note that object text encryption is basically just obfuscation. A > determined user could reverse engineer the object to view the source. To > protect your intellectual property, you should explicitly state in your > license agreement that reverse engineering of your application code, > including SQL objects, is prohibited. > > > CREATE PROC usp_EncryptedProcedure1 > WITH ENCRYPTION > AS > --sp_password > SELECT 'this create will not appear in profiler' > GO > > CREATE PROC usp_EncryptedProcedure2 > WITH ENCRYPTION > AS > SELECT 'this create will appear in profiler' > GO > > > -- > Hope this helps. > > Dan Guzman > SQL Server MVP > > "Pedro Gonçalves" <anonymous@microsoft.com> wrote in message > news:%23ZRLGYu$DHA.2336@TK2MSFTNGP11.phx.gbl... > > Hi, > > > > I'm a developer and in my applications I send commands to the SQL Server > > databases to create, or recreate, Stored Procedures, Functions and > Triggers. > > Recently I realize that my clients, using SQL Profiler, could see the code > > of that functions, SPs and Triggers, and even change it after they know > it. > > This means that my intellectual property is not safe, and the clients has > > access to my source code. > > I want to know if there is same way to encrypt the commands that I send to > > any SQL Server database in order to not being seen at profiler, at least > for > > that kind of commands. > > I notice that profiler automatically not show commands like sp_addlogin > > stored procedures... > > > > Thanks for your help, > > Pedro Gonçalves > > > > > >
- Next message: Pedro Gonçalves: "Re: Encrypt SQL Command to any SQL Server"
- Previous message: Dan Guzman: "Re: Encrypt SQL Command to any SQL Server"
- In reply to: Dan Guzman: "Re: Encrypt SQL Command to any SQL Server"
- Next in thread: Pedro Gonçalves: "Re: Encrypt SQL Command to any SQL Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|