Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 518455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:56:21+00:00 2026-05-13T07:56:21+00:00

We have a Delphi 2006 application that drives a MS SQL Server database. We

  • 0

We have a Delphi 2006 application that drives a MS SQL Server database.

We have found a vulnerability where it is possible to load the executable into a hex editor and modify the SQL.

Our long term plan is to move this SQL to CLR stored procedures but this is some way off since many of our clients still use SQL 2000.

We’ve thought about obfuscating the strings, does anyone have a recommendation for a tool for doing this?

Is there a better solution, maybe code signing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:56:21+00:00Added an answer on May 13, 2026 at 7:56 am

    Can’t you encrypt all your queries and put them to the resource file?
    During runtime, firstly you would have to:

    1. Load your query string from resource.
    2. Decrypt it.

    Then you just run your query as before.

    That should not be a big problem. Of course if you are not storing your queries in some resource / folder than you need to refactor your application a bit. But you should store them anyway in some organized manner. So you will be hitting a two birds with one stone here 😉

    For encryption of the strings you could use a free library called DCPCrypt.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application written in Delphi 2006 that was working fine in Windows
I have an Oracle 9 database from which my Delphi 2006 application reads data
I have a classic client/server (fat client and database) program written in Delphi 2006.
I have an old application developed in Delphi 2006 that I now needed to
I have a fairly complex application in Delphi 2006 that communicates through an ApdComport
HI I have an application written in Delphi 2006. I have noticed that when
I have several Delphi programs that maintain connections to a database (some Oracle, some
I have a Delphi 6 application that uses the Indy 9 components to maintain
I have a Delphi application that has a document browser as the main form.
I have a Delphi 2006 app that pops up a modal alert dialog when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.