RE: Password Protected
RE: Password Protected
- Subject: RE: Password Protected
- From: "Bourque, Jason" <email@hidden>
- Date: Wed, 14 Nov 2001 08:02:07 -0500
Could you explain how/why this works.
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
Thanks,
Jason Bourque
Senior Script Developer
Publishing Automation
MFS Investment Management
617-954-5312
>
----------
>
From: JJ
>
Sent: Tuesday, November 13, 2001 10:04 PM
>
To: applescriptmaillist
>
Subject: Re: Password Protected
>
>
> 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
>
>
JJ
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users