943,648 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Marked Solved
  • Views: 1108
  • C# RSS
You are currently viewing page 1 of this multi-page discussion thread
Jul 3rd, 2009
0

How to keep text file from user

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
buyap is offline Offline
5 posts
since Jul 2009
Jul 3rd, 2009
0

Re: How to keep text file from user

buyap,

Implement Cipher (encryption/decryption) system.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 3rd, 2009
0

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.
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Jul 3rd, 2009
0

Re: How to keep text file from user

I guess it from this text "hide the said Text file".
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 3rd, 2009
0

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
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Jul 3rd, 2009
0

Re: How to keep text file from user

....
Last edited by buyap; Jul 3rd, 2009 at 2:48 pm. Reason: duplication
Reputation Points: 10
Solved Threads: 0
Newbie Poster
buyap is offline Offline
5 posts
since Jul 2009
Jul 3rd, 2009
0

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.
Last edited by buyap; Jul 3rd, 2009 at 2:55 pm. Reason: misspelt
Reputation Points: 10
Solved Threads: 0
Newbie Poster
buyap is offline Offline
5 posts
since Jul 2009
Jul 4th, 2009
0

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
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 4th, 2009
0

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
Last edited by Poab9200; Jul 4th, 2009 at 1:13 pm.
Reputation Points: 16
Solved Threads: 1
Light Poster
Poab9200 is offline Offline
35 posts
since Aug 2008
Jul 7th, 2009
0

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.
Featured Poster
Reputation Points: 854
Solved Threads: 127
Banned
serkan sendur is offline Offline
2,057 posts
since Jan 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: if there's anyone who can deal that, he is a VMP for me :-)
Next Thread in C# Forum Timeline: Open new web page with C# code behind page





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC