|
-
Sep 25th, 2000, 01:15 PM
#1
I'm developing a DB application that is accessing an ODBC database. As it is now a user has to pull up a little connection form and enter the DSN and login info. This is fine, but I NEED to have this information stored, as the ODBC info is not going to change on aregular basis (if at all).
I was thinking about storing the DSN/userid/password information in a text file, and then performing XOR encryption on the text file (it's fairly simple and it'll keep the information semi-secure). I guess I'm wondering if this is the best way?
If so, how do I do the text manipulation? The couple books I have seem to gloss over this point. I can find out easily enough how to READ from a text file, but I need to know how to input these 3 pieces of info back into a text file, overwriting the information that is allready there.
If you are going to suggest storing this info in the registry, don't. I work in a high-security institution, so the NT security policys are incredibly anal (yes.. nobody but administrators can modify the registry in any way).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|