473,473 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Protect input data stored in external files (or Deserialize encoded xml file? (serialized and encoded))

I'm currently developing an application with classified information as
input to a couple of algorithms.
Which strategy should I use to protect the input data from beeing read?

The files should be files on the local computer in the application
directory structure and it must be possible to update the input data
with an external application.

My current approach is to deserialize the input data in the "external
application" and then encode the xml file line by line. But how do I
decode the data before I deserialize it without using the harddisk to
store a temporary decoded file. I do not want to store it temporarily
if the application crash before the temp file is removed...

I have specified the input data in an xml schema.

Are there other ways to solve the problem?

Regards
/Magnus

Apr 5 '06 #1
2 1660
I assume you are using XmlSerializer.
You could read the file, decode it and put it in a MemoryStream that you
then pass to XmlSerializer as the input stream.

Laura.

"Magnus" <su*****@hotmail.com> ha scritto nel messaggio
news:11**********************@e56g2000cwe.googlegr oups.com...
I'm currently developing an application with classified information as
input to a couple of algorithms.
Which strategy should I use to protect the input data from beeing read?

The files should be files on the local computer in the application
directory structure and it must be possible to update the input data
with an external application.

My current approach is to deserialize the input data in the "external
application" and then encode the xml file line by line. But how do I
decode the data before I deserialize it without using the harddisk to
store a temporary decoded file. I do not want to store it temporarily
if the application crash before the temp file is removed...

I have specified the input data in an xml schema.

Are there other ways to solve the problem?

Regards
/Magnus

Apr 5 '06 #2
Correct, XmlSerializer.
I'll try the MemoryStream approach, thank you!

Magnus

Apr 5 '06 #3

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

Similar topics

0
by: Hans-Joachim Widmaier | last post by:
Hi, I have a class that reads most common files (text, images, tar archives, zip archives). I just read in the whole thing and decide then what to do with it - create a gtk.TextView, gdk.pixbuf,...
6
by: Kevin | last post by:
Hi, Does anyone know how to display external files (i.e. jpg files) in reports? I have stored the file location in a table and am looking for a control to display it in a report. I can display...
3
by: SpIcH | last post by:
Hi All, This is all about protecting my data in Executable file. I have developed a program in Visual Basic .NET 2002. I have many questions in mind... please help me to complete my project. ...
0
by: David Helgason | last post by:
I think those best practices threads are a treat to follow (might even consider archiving some of them in a sort of best-practices faq), so here's one more. In coding an game asset server I want...
3
by: Doggie | last post by:
Hi, I am working on JS navigation for my web page. Contents of 3 subpages are located in the array as shown below. When certain key is pressed on the page, div is filled with data taken from one...
6
by: jeet_sen | last post by:
Hi, I have a file containing variables defined in javascript syntax, like, var a = 15; var list = ; .. .. I want to load this external file dynamically and read in the data. I can successfuly...
4
by: Kanuk | last post by:
I know there has to be a way to do this I want to beable to store and input data from a txt file and then beable to load it and parce it into visual basic to be thrown into a 1,2,or 3 dimentinal...
4
by: siddarthaps | last post by:
I have a program in C++. It needs to input data from an EXCEL worksheet. How to input data stored in EXCEL into C++????
4
by: shelley_2000 | last post by:
What is the best approach to collect and load Employee Resume Data from External Employees who may not have Microsoft access? If is likely they will have Microsoft Word, but not Microsoft Access. ...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.