How to keep text file from user

Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jul 2009
Posts: 5
Reputation: buyap is an unknown quantity at this point 
Solved Threads: 0
buyap buyap is offline Offline
Newbie Poster

How to keep text file from user

 
0
  #1
Jul 3rd, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,612
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 464
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: How to keep text file from user

 
0
  #2
Jul 3rd, 2009
buyap,

Implement Cipher (encryption/decryption) system.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: How to keep text file from user

 
0
  #3
Jul 3rd, 2009
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.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,612
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 464
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: How to keep text file from user

 
0
  #4
Jul 3rd, 2009
I guess it from this text "hide the said Text file".
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,211
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 572
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: How to keep text file from user

 
0
  #5
Jul 3rd, 2009
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
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 5
Reputation: buyap is an unknown quantity at this point 
Solved Threads: 0
buyap buyap is offline Offline
Newbie Poster

Re: How to keep text file from user

 
0
  #6
Jul 3rd, 2009
....
Last edited by buyap; Jul 3rd, 2009 at 2:48 pm. Reason: duplication
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 5
Reputation: buyap is an unknown quantity at this point 
Solved Threads: 0
buyap buyap is offline Offline
Newbie Poster

Re: How to keep text file from user

 
0
  #7
Jul 3rd, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,612
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 464
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: How to keep text file from user

 
0
  #8
Jul 4th, 2009
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
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 33
Reputation: Poab9200 is an unknown quantity at this point 
Solved Threads: 1
Poab9200 Poab9200 is offline Offline
Light Poster

Re: How to keep text file from user

 
0
  #9
Jul 4th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: How to keep text file from user

 
0
  #10
Jul 7th, 2009
i think you can embed that text file into your applications executable. so they can not see the content.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC