Re: Encrypt or hide the config in ini file
- From: "Henrick Hellström [StreamSec]" <henrick@xxxxxxxxxxxx>
- Date: Tue, 21 Mar 2006 14:31:21 +0100
Carlos wrote:
I want prevent user can get the ini file and get all password, Ip etc.
I talk by simple user. Ok, It seem a light secure solution but I don´t need
protection for hackers :).
Wrong, wrong, wrong. The fact that the typical user of your software is "simple" doesn't imply that you don't need protection from professional crackers. You might or might need it, but that is just not a valid reason. It only takes a single atypical user, or that one of your typical users hires a professional, for your system to become compromised.
Here are a couple of *valid* reasons why you would not need strong protection:
1. The value of the data stored by the server is negligleble. You couldn't care less if someone unauthorized logs in and reads all data, deletes all tables, reconfigures it and posts large quantities of garbage to it. The cost such an event would cause you is simply lower than the cost for making it technically impossible for them to do so.
2. Your client software will only be distributed to the people who pay you for maintaining the database; all of your users form a single legal entity (e.g. they are all employed by the same company); and each one of them has the right to browse, modify and delete any data posted by any other user. If they deliberately screw up the database, it is also they who will pay you for cleaning up the mess.
My scenario is:
1.- App start
2.- Read from INI IP, DataBase name, user and password
3.- App connect with the server
4.- App show User/password dialog managed by the app (no real database user)
The *right* way to achieve that is to use a middle-tier architecture. The middle-tier should be running server side and be the only application that has access to the actual DB server connection string. The client user should use the client software to log in to the middle-tier server. The business code you now have in the client software should move to the middle-tier.
.
- Follow-Ups:
- Re: Encrypt or hide the config in ini file
- From: Carlos
- Re: Encrypt or hide the config in ini file
- References:
- Encrypt or hide the config in ini file
- From: Carlos
- Re: Encrypt or hide the config in ini file
- From: "Henrick Hellström [StreamSec]"
- Re: Encrypt or hide the config in ini file
- From: Carlos
- Encrypt or hide the config in ini file
- Prev by Date: Re: Using SynEdit with Delphi 2006
- Next by Date: Re: Encrypt or hide the config in ini file
- Previous by thread: Re: Encrypt or hide the config in ini file
- Next by thread: Re: Encrypt or hide the config in ini file
- Index(es):
Relevant Pages
|