472,958 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How to protect my data in Executable file?

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.

1. I have very much data to be incorporated into the executable file. I
have to add much data into my developed program into 2 Combo Boxes and 1
List Box control. For that i have created an xml element with all of the
data i required. The program was running nice. But when i accidentally
opened that file into notepad, I shocked. I was able to see everything what
i have created in the xml element and it contains all passwords. please help
me how can i solve my problem?

2. In the same time i was able to see all the functions and sub routine
names i have used in my code. Its another shock for me. please help me how
to protect these names from the people.

3. What is the best way to incorporate large data into an executable
file. I can not create either xml file or mdb like that. because there is
possiblity that people can get that xml file and get all the data. I
literally want to protect my data completely as it contains many passwords
and usernames.

4. One of my friend told that there exists some software like softice
which will debug everything in executable file and gets the code. is this
true. if yes what happens to my program? is it can be cracked or can be
reproduced? please help me a way to protect my program and code from the
thefts.

5. I am running another executable file from my program. in the
background i am giving the filename with password using shell function. is
there is any chance for the people to find out what is passing to the
executable file? if yes, what is the right way to start a program by sending
the password to that file, but to stop the theft.

Please help me in the above problems.

waiting for the replies.

With Regards
Nov 21 '05 #1
3 4056

"SpIcH" <va*****@gmail.com> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...
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.

1. I have very much data to be incorporated into the executable file. I
have to add much data into my developed program into 2 Combo Boxes and 1
List Box control. For that i have created an xml element with all of the
data i required. The program was running nice. But when i accidentally
opened that file into notepad, I shocked. I was able to see everything
what i have created in the xml element and it contains all passwords.
please help me how can i solve my problem?

2. In the same time i was able to see all the functions and sub routine
names i have used in my code. Its another shock for me. please help me how
to protect these names from the people.

3. What is the best way to incorporate large data into an executable
file. I can not create either xml file or mdb like that. because there is
possiblity that people can get that xml file and get all the data. I
literally want to protect my data completely as it contains many passwords
and usernames.

4. One of my friend told that there exists some software like softice
which will debug everything in executable file and gets the code. is this
true. if yes what happens to my program? is it can be cracked or can be
reproduced? please help me a way to protect my program and code from the
thefts.

5. I am running another executable file from my program. in the
background i am giving the filename with password using shell function. is
there is any chance for the people to find out what is passing to the
executable file? if yes, what is the right way to start a program by
sending the password to that file, but to stop the theft.

Please help me in the above problems.

waiting for the replies.

With Regards

Search on "Cryptography" in your Visual Studio MSDN help. You'll find dozens
of articles that address your concern.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 21 '05 #2
I have some ideas for you.
1st. You can use Cryptography to encryp your data inside you xml file, I
think you have to look about this.
2nd. Make shure to change from debug to release when you compile your finaly
exe file.

You also have to think about, that:
There are not a secure system, always can be hacked if somebody can access
to it, "BUT" the most important thing is:
For a system be hacked 2 thing need to be combined:
1st. One people with the ability to do it.
2nd. The intention to do it, it mind, have this guy time to spend on it?

If I have the knowledge to decrypt an algorithm and/or decompile an
executable program or intercept dinamic call between thread running on
memory, hey!!!! I better spend my time trying to hack a bank and make a lot
of money with that.

You don't think so??????

Of course you have to make your program as secure as posible....
"SpIcH" <va*****@gmail.com> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...
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.

1. I have very much data to be incorporated into the executable file. I
have to add much data into my developed program into 2 Combo Boxes and 1
List Box control. For that i have created an xml element with all of the
data i required. The program was running nice. But when i accidentally
opened that file into notepad, I shocked. I was able to see everything
what i have created in the xml element and it contains all passwords.
please help me how can i solve my problem?

2. In the same time i was able to see all the functions and sub routine
names i have used in my code. Its another shock for me. please help me how
to protect these names from the people.

3. What is the best way to incorporate large data into an executable
file. I can not create either xml file or mdb like that. because there is
possiblity that people can get that xml file and get all the data. I
literally want to protect my data completely as it contains many passwords
and usernames.

4. One of my friend told that there exists some software like softice
which will debug everything in executable file and gets the code. is this
true. if yes what happens to my program? is it can be cracked or can be
reproduced? please help me a way to protect my program and code from the
thefts.

5. I am running another executable file from my program. in the
background i am giving the filename with password using shell function. is
there is any chance for the people to find out what is passing to the
executable file? if yes, what is the right way to start a program by
sending the password to that file, but to stop the theft.

Please help me in the above problems.

waiting for the replies.

With Regards

Nov 21 '05 #3
The application blocks have a block for authentication, authorization, and
encryption. I would suggest that you can look at that code to get some ideas
and techniques for leveraging authentication without storing passwords.
Also, you should consider encrypting the data in the file (as others have
suggested) and only decrypting the data into memory.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"SpIcH" <va*****@gmail.com> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...
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.

1. I have very much data to be incorporated into the executable file. I
have to add much data into my developed program into 2 Combo Boxes and 1
List Box control. For that i have created an xml element with all of the
data i required. The program was running nice. But when i accidentally
opened that file into notepad, I shocked. I was able to see everything
what i have created in the xml element and it contains all passwords.
please help me how can i solve my problem?

2. In the same time i was able to see all the functions and sub routine
names i have used in my code. Its another shock for me. please help me how
to protect these names from the people.

3. What is the best way to incorporate large data into an executable
file. I can not create either xml file or mdb like that. because there is
possiblity that people can get that xml file and get all the data. I
literally want to protect my data completely as it contains many passwords
and usernames.

4. One of my friend told that there exists some software like softice
which will debug everything in executable file and gets the code. is this
true. if yes what happens to my program? is it can be cracked or can be
reproduced? please help me a way to protect my program and code from the
thefts.

5. I am running another executable file from my program. in the
background i am giving the filename with password using shell function. is
there is any chance for the people to find out what is passing to the
executable file? if yes, what is the right way to start a program by
sending the password to that file, but to stop the theft.

Please help me in the above problems.

waiting for the replies.

With Regards

Nov 21 '05 #4

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

Similar topics

9
by: toufik toufik | last post by:
Hi, Is it possible to hide a source code PHP in order to protect it, I mean, I'm developpind a web solution for customers and I don't like that the customer or the host see my code. Thanks.
11
by: siliconmike | last post by:
Is there a way to protect data files from access by root ? I have a data-centered website and would like to protect data piracy from any foot-loose hosting company employee. Any ideas? ...
2
by: ven | last post by:
I have used C# binary formatter to serialize and deserialize a data structure. However, for the same data format( used by the first executable, the same *.CS files), the second executable gives an...
22
by: teejayem | last post by:
Hi, I am new to programming with databases and was wanting some help. Is there any way to password protect an access database and access sent sql commands to it via vb.net code? Any help...
10
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I protect my javascript code? ----------------------------------------------------------------------- ...
4
by: ovatta | last post by:
Hi! I have meke a simple programs on c++ with visual studio. The program have a dll where I put my name e my personal details. I realize that anybody can take my executable file and with a simpli...
38
by: farsheed | last post by:
I wrote a software and I want to protect it so can not be cracked easily. I wrote it in python and compile it using py2exe. what is the best way in your opinion?
3
by: Sin Jeong-hun | last post by:
It seems like the Protect() uses the Windows accout information to encrypt data. If I know the user name and the password, can I decrypt it on another PC? If it is not, how about the exported key?...
27
by: c.lang.myself | last post by:
i just got to know there are three different sections in which we can divide our program *Text section *Data section *Bss i think text section contain our code,data section include heap,stack...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.