473,386 Members | 1,962 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,386 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 4084

"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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.