473,320 Members | 1,746 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,320 software developers and data experts.

how to protect my project

284 100+
my project is nearly completed . and now i am going to put my project
in office .how can i protect my projoct form bieing decoded by anyone
or no body can use my programe in any other comuputer
Oct 17 '07 #1
8 2715
debasisdas
8,127 Expert 4TB
Are you using VSS in your system ?
Oct 17 '07 #2
Jatelo
1
You can try to get markers and write then coded into the registry and let your application read the registry to get the markers all the time.. the most simple one is reverse the HDD serial No. then write it to the registry when your application starts read the value from the registry de-reverse it and compare it to the one you are getting from the HDD .. if the are the same.. .then start the program if not the quit
Oct 17 '07 #3
muddasirmunir
284 100+
i donot know what is VSS?

I even heard first time about the markers and HDD serial no.
how to get it from registery and write values in registery.

can any body explaing it.
Oct 17 '07 #4
jamesd0142
469 256MB
This is a last resort option and prob isnt very reliable...
Killer42 - feel free to tell me how much of a bad idea this is :)

What i once did was create an encryption algorithm, encrypt a seriel key and store into a text file hidden on the hard drive.

when my program loads it checks that the seriel key/password entered in the program when it loads, encrypts it and checks if it matches the value in the hidden text file.

so even if some1 found the text file the password is encrypted and means nothing :)

it seemed to work for me, but depends on how complex a program u have created, mine was a basic practice program.
Oct 17 '07 #5
muddasirmunir
284 100+
its seem good your idea of encrypiton a text file i need to know two
thigs about it
fist one obviously how i can make it . i donot know programming
about encrypiotn

secondly
you said that a password is in enctypte form in text box and cannot
be decryped i have to know
can any one decrypted my exe and know that passwored
or
if any one take my exe file and the text file in encypion form
and copy to another computer why it not work
thank s





This is a last resort option and prob isnt very
reliable...
Killer42 - feel free to tell me how much of a bad idea this is :)

What i once did was create an encryption algorithm, encrypt a seriel key and store into a text file hidden on the hard drive.

when my program loads it checks that the seriel key/password entered in the program when it loads, encrypts it and checks if it matches the value in the hidden text file.

so even if some1 found the text file the password is encrypted and means nothing :)

it seemed to work for me, but depends on how complex a program u have created, mine was a basic practice program.
Oct 17 '07 #6
jamesd0142
469 256MB
its seem good your idea of encrypiton a text file i need to know two
thigs about it
fist one obviously how i can make it . i donot know programming
about encrypiotn

secondly
you said that a password is in enctypte form in text box and cannot
be decryped i have to know
can any one decrypted my exe and know that passwored
or
if any one take my exe file and the text file in encypion form
and copy to another computer why it not work
thank s
What i did was use the 'mid' function to pick out each character/digit at a time from the pasword string. then get the asci code of this character using the 'asc' function. add each character's asci code to a string 'c = c + [asci code].

Now once you have a string with a long number in it eg... (12345676432283) representing all the asci codes of the pasword string. have some fun with maths, (ie. multipley by 99.999, divide by 97.9365 and throw away the decimal places at each stage. therefore it canno be decrypted because some data is lost. (or at least i believe that it cant).

As for decrypting an exe file, i dont think this is possible... Is it?

And finally, is some1 takes the exe and the text file it wud work on another computer, so best hide the text file and change its extention from .txt to .enc maybe. and hide it well.

There is bound to be easier and more secure ways of doin something like this but im not experienced enough to know :)
Oct 18 '07 #7
Ali Rizwan
925 512MB
my project is nearly completed . and now i am going to put my project
in office .how can i protect my projoct form bieing decoded by anyone
or no body can use my programe in any other comuputer
Save HDD Serial No to a textfile which have extension such like .vbp or change extension to .*** and save the file to a path like
C:\Windows\System32\Config\MAS
And lock the text file using Lock() command so that when the textfile is in use no one can open that file.

I don't think some body can think that the textfile where the data is fetching is in the path above.
And no body can imagine this that there is a text file which is using to run the programe.

SO
Do It.
Other wise search for Writing Registery Or How to search for a registry in thescripts you will find some threads belong to me they can help you.

But i think saving text file is better a technical person can change the registry too if it know that the registry name.

The both are of same type.

But i use the saving textfile to pc to rotect recopying my app.

GOODLUCK
ALI
Oct 18 '07 #8
muddasirmunir
284 100+
did you have any sample programe to mailme how to implement thish
logic.
and
is it possibe that i can add text file in my deployment prject and save it
to my specifies location like c:\*.txt and my prject save at a location
as defince by the user like d:\myproject\


What i did was use the 'mid' function to pick out each character/digit at a time from the pasword string. then get the asci code of this character using the 'asc' function. add each character's asci code to a string 'c = c + [asci code].

Now once you have a string with a long number in it eg... (12345676432283) representing all the asci codes of the pasword string. have some fun with maths, (ie. multipley by 99.999, divide by 97.9365 and throw away the decimal places at each stage. therefore it canno be decrypted because some data is lost. (or at least i believe that it cant).

As for decrypting an exe file, i dont think this is possible... Is it?

And finally, is some1 takes the exe and the text file it wud work on another computer, so best hide the text file and change its extention from .txt to .enc maybe. and hide it well.

There is bound to be easier and more secure ways of doin something like this but im not experienced enough to know :)
Oct 21 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

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? ...
4
by: David LACASSAGNE | last post by:
Is it possible to set a password to protect the code of an Access VBA project by automation (I already know how to to it manually)? David.
11
by: Sandy | last post by:
Hello - Thought I was almost done with my project and then a back arrow button issue raised its ugly head. Once a user fills out a form and submits it (done via stored procedure into a Sql...
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. ...
2
by: itamtodd | last post by:
How Do I License & Protect My Software? I am in the process of developing a small program that I will be trying to sell to different institutions. The program is written in VB and uses an...
7
by: cefrancke | last post by:
I have a few tables with sensitive user information (passwords, etc.) and I would like to prevent someone from opening a blank database and importing those tables. Is there a way to "hide" or...
7
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I have an ASP.NET 2.0 web application which contains an Images directory with all website images. How can I prevent other websites from creating img tags with the source as my images? I want...
1
by: DonNadie | last post by:
I´m looking for a safe way to protect not only my php code but my php whole projects, from unwanted copies comming from the hosting company or anyone who has access to server contents. As far as I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.