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

  • Home
  • SEARCH
  • 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 7032757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:58:35+00:00 2026-05-28T00:58:35+00:00

My application is written using : Embarcadero Delphi 2010 I have a form named

  • 0

My application is written using : Embarcadero Delphi 2010

I have a form named INCLUDEFORM which i included in all other forms, this form contain, TSQLQuery and TSQLConnection which contain the database connection details ( db host, db name, db user, and db pass ) which are defined in the design time.

Yesterday, i installed a software named ( Resource Hacker ), i tried to open my application using this software, and when i was looking for resources i have seen all forms in my application including the includeform, i clicked in the include form to see the code source, and i saw all the code source and daabase connection details.

I tried to open other similar applications to mine using the resource hacker, but i didn’t see any important details, only Icon, Icon group, and Version Info.

Please, is it possible to encrypt my source code from Resource Hacke, or at least the code in the INCLUDE FORM which contain the important database connection details.

Thankyou

  • 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-28T00:58:35+00:00Added an answer on May 28, 2026 at 12:58 am

    You can set the connection string at form creation time, in-code and obfuscate/encrypt the string that is being used, rather than leaving it in at design time. Generally, I don’t use a connection to the live database in my development, but a connection to a test database that is typically more access restricted than the production database e.g. behind a firewall, inside a NAT gateway.

    Simple obfuscation mechanisms include performing an XOR of the string. More complex methods, like encryption, require the addition of libraries to perform the encryption/decryption.

    If you’re just trying to protect the connection string, these methods are simple to accomplish. If you’re trying to accomplish full obfuscation/encryption of the form data, then using packers like UPX is the simplest mechanism, but is, again, trivial to work around.

    Overall, anything you do will probably only delay the obtaining of the connection string for the database – this is due to the nature of software based protections – because you have everything that is needed to perform the connection, it is only a matter of time and effort before the information will be revealed.

    If you truly want to protect the connection to the database, then you need to have a username/password combination for each user, and require this data to be input at execution time

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

Sidebar

Related Questions

I have a web application written using CherryPy, which is run locally on 127.0.0.1:4321
I have a DirectShow application written in Delphi 6 using the DSPACK component library.
I have an CMS application which is written using C#, and I should Save
I have a stackoverflow problem with a C# application written using Visual Studio 2010
I have a DirectShow application written in Delphi 6 using the DSPACK component library.
I have an application written using the M-V-VM approach. The data access is done
If you have an 68K application written using CodeWarrior for Palm OS, how do
Here's my question. Right now I have a Linux server application (written using C++
I have web application written in java using Eclipse. It has just one servlet
I have a medium sized application written in c++ using Qt. I wanted to

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.