Re: Password Protected
Re: Password Protected
- Subject: Re: Password Protected
- From: JollyRoger <email@hidden>
- Date: Wed, 14 Nov 2001 06:47:34 -0600
On 11/13/2001 9:04 PM, "JJ" <email@hidden> wrote:
>
> Hi theree people,
>
> I'm curious about a way to protect my script. I know that I can put a
>
> password set statement like so:
>
>
>
> set this_password to "make up a word"
>
> considering case
>
> repeat with i from 1 to 3
>
> display dialog "Enter password:" default answer ""
>
> if the text returned of the result is this_password then exit repeat
>
> if i is 3 then return "access denied"
>
> end repeat
>
> end considering
>
>
>
> NOW, if I do a save as command of this script (not the orginal) and save it
>
> as a RUN ONLY file. Can this script still opened by any other user? Or maybe
>
> a professional?
>
>
If you save as RUN-ONLY, it maybe a professional, Merlin the Magician,
>
Gandalf the Sorcerer or David Copperfield.
>
>
(but, if I open your example using a rsrc editor, I can see all the strings
>
"make up a word","Enter password:" & "access denied").
>
You should try alphanumeric combinations, such as:
>
>
set this_password to ((3 * 12 / 17) as text) &
>
(ASCII number (item -1 of {"sox", "pippi"}))
>
>
But it could be cracked by Gandalf. Take consideration about THE DATA EXISTS
>
SOMEWHERE -the scpt rsrc-, and the key to decode it is stored too -in your
>
script: "make up a word"-. That's because big developers, such as
>
adobe-macromedia... -Apple!- lose money.
>
The only way to preserve your info is that doesn't exists THE KEY. I.e., a
>
self-contained doubt:
>
>
property parent : missing value
>
repeat while parent true
>
set be_or_not to me
>
end repeat
Oooo...kay