![]() |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Dear Friends , i want to make 1 client software to connect my mssql web database of my website, companyes will use this client to save products to web site and change price , so if i use ado connection string in my exe , when i open winhex editor , i can see my connection string details in hex editor , and anybody can hack my sql server database if they read connection from client , how can i hide connection string details in exe ? or i must use another way
|
|
#2
|
|||
|
|||
|
Don't set the connection @designtime, set it @runtime. Since it's not compiled in the .exe it shouldn't be readable in the hex...
And don't compile with debug information (DEBUG) |
|
#3
|
|||
|
|||
|
how i can make it in runtime ? i dont know way to use ado connection string in runtime , i can only make it in exe , can you explain and teach me please what i must to do ?
|
|
#4
|
|||
|
|||
|
There's a property ConnectionString, just assign this in your datamodule create
|
|
#5
|
|||
|
|||
|
how i can make it ? i use ado connection , and i make build connection.string and it is all ,but when i see in winhex ediyor i can read all my details , how i can make property ConnectionString ? how i can start to make it ?
|
|
#6
|
|||
|
|||
|
have you tried the debug trick in my first post?
For the connectionstring @runtime I will refer to google, tons of examples to be found there... |
![]() |
| Thread Tools | |
| Display Modes | |
|
|