Click here to Skip to main content
15,311,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have this .xml file read and display at runtime by vb.net2003. the .xml file is the database which contain various data and its not for adding more data or edited by user so i need to protect the file so that my code can read and display those data. can anyone know how to protect the file. If encrypted can i decrypt it inside my program code and display them as needed.

I would be very grateful if anyone could help me on this.

Updated 22-Nov-10 23:48pm

Create/encrypt the data in memory, and save it to the disk. When you need to load the data, load it into memory, decrypt it, and parse the XML as you normally would.
Thats what i want to do, but how do i put a code together to accomplish that, thats my problem.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900