Release build without config file

colosso

I'm trying to release a software I wrote to multiple Computers in several different locations. The Program itself is a Windows Forms Application. To install it I added a setup project which also works perfectly fine. All files get copied to the right folders and the choices the user can make during the installation work without a flaw. But:

The only problem is that the config file, which contains sensible data like for example the SQL connection string, gets also copied / installed on the target computer.

Is there a way to store this data unreadable for the user in the application? I thought about just writing it in a class since the application gets obfuscated but I'm not sure if this is secure enough and if this really is a way to go...

Any help appreciated!

Guclu

You might cryptographically secure the sensitive file with a private key embedded in code itself with an obfuscation scheme. This is better then embedding all sensitive config data in code since you would not need rebuild-test-release your application when only your config changes.

Theoretically, If an application running in user mode can -anyhow- access the plain sensitive data, so can the user(de-obfuscation, memory dump etc). Since all information needed to generate or decipher the sensitive data is present offline (code, disk, memory), one -with enough skills- can determine the decryption scheme by examining the code (even the machine code)

Think of an application as a user with rapid calculation and massive memory skills so it can de-obfuscate your code on the fly and do the needed calculations to decrypt the "safe" data

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

PPA without release file

From Dev

Modify config file during release

From Dev

Creating a release web.config file

From Dev

Release Management in TFS without build automation

From Dev

sshfs LocalForward without config file

From Dev

Phonegap build release version locally (without Phonegap Build)

From Dev

Phonegap build release version locally (without Phonegap Build)

From Dev

copy release aar file after succeful build

From Dev

NDK build with different mk file for release/debug

From Dev

Python ciscoconfparse - build a basic config file

From Dev

Debugging The Release Build Type Without Generating a Signed APK

From Dev

Get stack trace of all threads without pdb files in Release build

From Dev

Cannot run release build on a PC without visual studio

From Dev

Cannot run release build on a PC without visual studio

From Dev

Get stack trace of all threads without pdb files in Release build

From Dev

How to build a custom FreeBSD release without root privileges?

From Dev

TraceSource - set autoflush to true without config file?

From Dev

Entity framework 6 without config file?

From Dev

Host WCF service without config file

From Dev

TraceSource - set autoflush to true without config file?

From Dev

Using Config::Simple to read MySQL config file with keys without values

From Dev

What is meant the minifyEnabled false in the release block in the gradle.build file

From Dev

How to get release build apk file using proguard

From Dev

Build URL without configuring urlManager in /config/main.php

From Dev

How to make Windows Explorer release focus on a file without the mouse?

From Dev

take changes in file sshd_config file without server reboot

From Dev

Build debian package without .orig file

From Dev

build rpm without compiling the source file

From Dev

Team city Build config fire another team city config without it being a dependency

Related Related

  1. 1

    PPA without release file

  2. 2

    Modify config file during release

  3. 3

    Creating a release web.config file

  4. 4

    Release Management in TFS without build automation

  5. 5

    sshfs LocalForward without config file

  6. 6

    Phonegap build release version locally (without Phonegap Build)

  7. 7

    Phonegap build release version locally (without Phonegap Build)

  8. 8

    copy release aar file after succeful build

  9. 9

    NDK build with different mk file for release/debug

  10. 10

    Python ciscoconfparse - build a basic config file

  11. 11

    Debugging The Release Build Type Without Generating a Signed APK

  12. 12

    Get stack trace of all threads without pdb files in Release build

  13. 13

    Cannot run release build on a PC without visual studio

  14. 14

    Cannot run release build on a PC without visual studio

  15. 15

    Get stack trace of all threads without pdb files in Release build

  16. 16

    How to build a custom FreeBSD release without root privileges?

  17. 17

    TraceSource - set autoflush to true without config file?

  18. 18

    Entity framework 6 without config file?

  19. 19

    Host WCF service without config file

  20. 20

    TraceSource - set autoflush to true without config file?

  21. 21

    Using Config::Simple to read MySQL config file with keys without values

  22. 22

    What is meant the minifyEnabled false in the release block in the gradle.build file

  23. 23

    How to get release build apk file using proguard

  24. 24

    Build URL without configuring urlManager in /config/main.php

  25. 25

    How to make Windows Explorer release focus on a file without the mouse?

  26. 26

    take changes in file sshd_config file without server reboot

  27. 27

    Build debian package without .orig file

  28. 28

    build rpm without compiling the source file

  29. 29

    Team city Build config fire another team city config without it being a dependency

HotTag

Archive