I want to store data that will be read from and written to by two executable files. This data file will be used to store settings that are common to both executables. To keep the user from inadvertantly modifying the data file, I would like to limit its write access. Ideally, the write access would be limited to the two executables. Also, it would be nice to have the data file be unreadable, encrypted, or un-openable to keep the user from viewing the data file. Is all of this possible? If so, which file type should I use to store the data?
cheers4beer 0 Newbie Poster
Recommended Answers
Jump to Post>Would a text file be the most professional way to save the settings for an executable?
Why wouldn't it be? If you don't need anything more sophisticated it would be unprofessional to push more of a solution than you require.>So, what kind of file is IE7 or most …
Jump to PostFurther, depending on your choice of programming language, it is likely you can find free software libraries that will store all your configuration data in a structured text file format, for example: XML or even (gasp!) INI.
All 6 Replies
Salem 5,265 Posting Sage
cheers4beer 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
Salem 5,265 Posting Sage
Duoas 1,025 Postaholic Featured Poster
Salem commented: I like XML +12
cheers4beer 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.