Secure SQL Code within Database

  • In my scenario, I have to deploy the database to the Server owned by the Customer. Now All my business logic is written in the Stored Procedures and Functions. I am searching for such a solution so that I can secure my Stored Procedures and Functions. I know about 'With Encryption' Option, but it can be decrypted by any decryption tool available in the market very easily.

    SQL Shield is another option but it has to be installed at each client along with the server, which makes it very expensive. I cannot run Encrypted SPs by SQL Shield on client machine if I dont exclusively install it on the client machine.

    Also, the Server residing in the customer premises has Administrative rights on the server.

    Can some one help me with this...?

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

  • Really the WITH ENCRYPTION option or a third party tool is the only way to go if you are putting all the business logic in the database. Personally I don't believe in encrypting stored procedures because all too often someone else can see problems or provide a better solution.

  • Agreed... the only real options are WITH ENCRYPTION and third party tools. Your other option... although it has a host of other issues is to use CLR/.NET stored procedures which offers a lot of protection options, but moves it out of T-SQL.

  • Any recommendation for the third party tool for this purpose?

    I have checked BLOCKKK and SQL Shield in this regard. Any other option will be appriciated.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Sometimes, winning is not an issue but trying.
    You can check my BLOG
    [font="Arial Black"]here[/font][/url][/right]

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply