Results 1 to 4 of 4

Thread: Hide text files

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Hide text files

    Hello...

    I am using text files to write some flags to store the value of check boxes and read them when application starts and set the check boxes' values according to the flags set in text files.

    Is there a way to hide those text files from application so that the user cannot change them or is there any other better way to avoid user interaction with those text files ??

    Thanks.

  2. #2
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168
    use registries

  3. #3

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    I have already used text files. Its too difficult for me to change them now.

  4. #4
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168
    some methods for now

    1. put your files in some directory with non strange name like mspwes.dll in \windows\system directory

    2. for further security keep file in coded format, which can be decoded at run time use

    3 in your program keep a procedure which will always create the desired text file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width