473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Make the text file unreadable?

Hi, all,
I'd like to know if there a way to make the text file unreadable. I
want the user to read file only in my program, but not allow to read
files from outside of my program. How to do that?
Thanks a lot!

Nov 21 '05 #1
5 5806
Sounds like you need to encrypt your file, so that only your reader knows
how to decrypt it.

<ba**********@yahoo.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi, all,
I'd like to know if there a way to make the text file unreadable. I
want the user to read file only in my program, but not allow to read
files from outside of my program. How to do that?
Thanks a lot!

Nov 21 '05 #2
Marina,

That is not womans logic, however great answer.

I was not direct in my mind reading the question, while it is so obvious.

:-)

Cor
Nov 21 '05 #3
How to encrypt and decrypt the whole text file ? Can I get some
samples?

Thanks in advance

Marina wrote:
Sounds like you need to encrypt your file, so that only your reader knows how to decrypt it.

<ba**********@yahoo.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi, all,
I'd like to know if there a way to make the text file unreadable. I
want the user to read file only in my program, but not allow to read files from outside of my program. How to do that?
Thanks a lot!


Nov 21 '05 #4
Barbara,

Search for Rijndael on MSDN than you get all kind of encryptions
(I live in a Rijndal which is in old Dutch Rijndael, and in that way I
remember it me)

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps

Cor
Nov 21 '05 #5
<ba**********@yahoo.com> schrieb:
How to encrypt and decrypt the whole text file ? Can I get some
samples?


<URL:http://www.activevb.de/rubriken/vbdotnettipps/tipp0010.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Mike B | last post by:
How do you make it source your source code is unreadable? I went to a website and tried to look at their source, and it came up blank. I then saved the file and got a message saying something...
5
by: Mike M | last post by:
Hi all, Attempting to do css for cross platform/browser compatibility. Have an issue with IE6 sp1 running on NT4. When using IE6 sp1, example 1 works fine, example 2 produces unreadable text....
3
by: Benoit Martin | last post by:
in my windows app, I have some japanese text that I load from a text file and display on a label. No matter what type of encoding I try to use on the text file, the text always comes up as a bunch...
4
by: H Lee | last post by:
Hi, I'm an XML newbie, and not sure if this is the appropriate newsgroup to post my question, so feel free to suggest other newgroups where I should post this message if this is the case. I'm...
3
by: Trishia Rose | last post by:
God dang it all, i am so sick of programmers who feel compelled that every single time they use an int variable, they give it some brand new name! for example they would take an innocent function...
10
by: AA Arens | last post by:
I do have a database with customer info in it. To avoid it will be taken out of our office, is it possible to make it not-readable after a certain period? then every let say seven days, I needs to...
2
by: Ron | last post by:
I would like to make this code into a class: Private Sub btnAllCap_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAllCap.Click txtOutput.Text =...
14
by: rafal_ | last post by:
Is difference between interpretation of \n only difference ?
6
by: aagarwal8 | last post by:
Hi, I am trying to write the contents of a textbox to a file in binary format. My code looks like this... private void btnWriteToFile_Click(object sender, EventArgs e) { FileStream fs =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.