Call now: (800) 766-1884  



 Home


 SQL Server Tips
 SQL Server Training

 SQL Server Consulting
 SQL Server Support
 SQL Server Remote DBA



 Articles
 Services
 SQL Server Scripts
 Scripts Menu



 

 

 

   
  SQL Server Tips by Gama and Naughter


Technical protections

 

There are five main types of protection:
 

     * Compiling to native code. - The code can be disassembled and reverse engineered. However, the cost of doing this could be many times higher than developing the original code.
 

     * Compiling to intermediate code (Java, Visual Basic P-code, CLI). - This code is easily decompiled due to its nature.
 

     * Obfuscating the code (removing comments, scrambling variable names', modifying the code structure). Obfuscation makes the code less readable but it is still possible to isolate sections of code and try to understand what they do. If an important algorithm is in a function, the code can still be used or analyzed separately.
 

     * Encoding (changing the format of the code, for example using the Microsoft Script Encoder or escape codes in JavaScript) - insecure by definition.
 

     * Encrypting the code (by using internal mechanisms like WITH ENCRYPTION for TSQL code or dynamic execution of code, after being decrypted, common in JScript or using special tools for PE files like UPX) - the WITH ENCRYPTION clause would be perfect but a few ways to defeat it are of public knowledge.


The above book excerpt is from:

Super SQL Server Systems
Turbocharge Database Performance with C++ External Procedures

ISBN: 0-9761573-2-2
Joseph Gama, P. J. Naughter

 http://www.rampant-books.com/book_2005_2_sql_server_external_procedures.htm
 

 

Burleson Consulting Remote DB Administration


 

 


 

 

 

 

 
Burleson is the America's Team

Note: The pages on this site were created as a support and training reference for use by our staff of DBA consultants.  If you find it confusing, please exit this page.

Errata?  SQL Server technology is changing and we strive to update our SQL Server support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:and include the URL for the page.
 


Burleson Consulting
SQL Server database support

 

Copyright 1996 -  2013 by Vaaltech Web Services. All rights reserved.

Hit Counter