How can I protect a part of a source code ?
markuster
Posts: 184
I have developed a Source code for BS2.
The source code is simple , move some servos
and the source turns on and off an speaker alarm from one minute
to five minutes just changing a Pause.
I will send this Source code to a frind.
My friend doesn't know anything about Basic Stamps
and I am afraid she could modify all the Source code.
My question is how can I protect the souce code and show
the Pause only , or blocked some Source lines .
Or show a part of the source code.
( I don't know)
Thanks , Mark
PS: Generate a single executable is not a solution.
The source code is simple , move some servos
and the source turns on and off an speaker alarm from one minute
to five minutes just changing a Pause.
I will send this Source code to a frind.
My friend doesn't know anything about Basic Stamps
and I am afraid she could modify all the Source code.
My question is how can I protect the souce code and show
the Pause only , or blocked some Source lines .
Or show a part of the source code.
( I don't know)
Thanks , Mark
PS: Generate a single executable is not a solution.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
If this is the case, she can always re-load the original code, or you can resend it. As long as she saves the code with a different name, there should be no problem.
If you are worried about code protection from theft, it is impossible to *completely* protect the program. But, if your friend can't even modify the code corecctly, she sure won't be able to steal it. If this is the case, just send her a pre-programmed Stamp.
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
She wont be able to see any of the source and if you really want here to be able to change
timers an such just set some serin/debugin commands and have her enter them through a terminal viewer.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
DTQ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
I would like to use a menu and
Generate Object Code
but I how can I add a menu ?
Do you know where can I find this information
or an example ?
Thanks Mark.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Post Edited (Tracy Allen) : 9/14/2007 6:02:56 AM GMT
Mark.