DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   How to keep text file from user (http://www.daniweb.com/forums/thread201451.html)

buyap Jul 3rd, 2009 8:36 am
How to keep text file from user
 
I m a beginner. Using open source, I have compiled a freeware Eng-Hindi dictionary in C# with a 40K word data input source as a Text file. Is there someway to modify / hide the said Text file from front end user. Thanks.

adatapost Jul 3rd, 2009 8:44 am
Re: How to keep text file from user
 
buyap,

Implement Cipher (encryption/decryption) system.

Ramy Mahrous Jul 3rd, 2009 9:16 am
Re: How to keep text file from user
 
I don't understand the question :| adatapost how could you :) I think they need to develop and editor to this file to add\modify\remove some words.

adatapost Jul 3rd, 2009 9:24 am
Re: How to keep text file from user
 
I guess it from this text "hide the said Text file".

sknake Jul 3rd, 2009 12:20 pm
Re: How to keep text file from user
 
Yeah I was thinking the same thing adatapost was.

buyap -- You can see an example of encrypting strings on http://www.daniweb.com/code/snippet1244.html. You can slightly alter that code to use streams

buyap Jul 3rd, 2009 2:29 pm
Re: How to keep text file from user
 
....

buyap Jul 3rd, 2009 2:39 pm
Re: How to keep text file from user
 
Thankyou, I m a beginner. My native translation work(55K+ words) for dictionary is aimed for native user translation convenience. But text data reuse by native developers may cause multiple ditto copies so original translator not distinguished. I have tried encrypted file but goes unreadable by program. By whatever suitable means, how to make text file unutilizable by distrubution content recipient. Thanks & Regards.

adatapost Jul 4th, 2009 6:19 am
Re: How to keep text file from user
 
buyap,

Try to get solution with same thread. Do not create new thread for the similar question.

Duplicate Thread --
http://www.daniweb.com/forums/thread201557.html

Poab9200 Jul 4th, 2009 1:12 pm
Re: How to keep text file from user
 
1. If you want to hide the file visually then modify the file's properties to 'hide' the file its self.

2. If you don't want the user to access that file and make use of the data stored within it then do what was previously mentioned, Encrypt the file and when the program needs to use/load the file you would then Decrypt the file and then feed that data to the program. And to take an extra precaution that will keep most(not all) users from seeing the file. Follow step #1

And please dont double post: http://www.daniweb.com/forums/thread201557.html

serkan sendur Jul 7th, 2009 6:04 pm
Re: How to keep text file from user
 
i think you can embed that text file into your applications executable. so they can not see the content.


All times are GMT -4. The time now is 10:15 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC