Re: Storing passwords in scripts
Re: Storing passwords in scripts
- Subject: Re: Storing passwords in scripts
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 21 Jan 2003 22:15:46 -0800
On 1/21/03 9:38 PM, "Jon Pugh" <email@hidden> wrote:
>
So, here's a technique for disguising an embedded password which uses the
>
openssl command's passwd function to encrypt a password. This won't be much
>
use if you are storing a password to pass to other functions, like the admin
>
password but it will work well for passwords which a script might use to
>
prevent them from functioning, and won't be snoopable.
It works great, but there's an oddity: 'password' is an osax term, a
parameter of 'do shell script' in Standard Additions. (In fact, it's meant
to handle admin passwords without requiring dialogs. ;-) So Script Debugger
doesn't even list it as a property, although it does seem to treat it as
one. Still, better to avoid this namespace conflict, no? Any other variable
name, such as 'passwd', works just as well.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.