Hi!
I'd like to know how to create passwords in order to protect the access to the various programs (mcs).
thanks in advance,
humptydumpty
How To Create Passwords
Started by
humptydumpty
, Sep 22 2006 12:01 PM
5 replies to this topic
#1
Posted 22 September 2006 - 12:01 PM
#2
Posted 23 September 2006 - 02:48 AM
Hi.
You must do it yourself in the program. For example a piece code may look like this:
Note that you should compress the program. If not, another user may access to the code and get your password. Hope this help.
You must do it yourself in the program. For example a piece code may look like this:
InputStr pw,"Enter password to access program" //Your pre-defined password is "ClassPad" StrCmp pw,"ClassPad",rs If rs=/=0 Then:Message "The program will stop now. Try enter a correct password","Error PassWord" Return IfEnd .......(your main program).
Note that you should compress the program. If not, another user may access to the code and get your password. Hope this help.
#3
Posted 23 September 2006 - 03:00 AM
You should ask filip (visit classpad.org).
#4
Posted 23 September 2006 - 06:59 AM
You can't protect the access to your source code with a password.
You can use Compress program, but you won't be able to edit it anymore.
You can use Compress program, but you won't be able to edit it anymore.
#5
Posted 24 September 2006 - 06:48 PM
Even if you compress the program, users still can see the password with any simple C++ add-in that reads CP's EXE files (because strings aren't compressed in an EXE file). A better way is to write the encrypted (coded) password in the string, and then try to decrypt it (change it to the real password). An better solution for coding the password is to save it as a number, then do some math operations on it. So that no one recognizes the real password.
#6
Posted 22 February 2008 - 05:34 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users