| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Richard,_______________________________________________
Mike Bombich posted a really nice solution for this situation to the list about 6 months ago. It's available here: <http://lists.apple.com/archives/applescript-studio/2003/Jun/06/ adminprivilegesquestion.txt>
This allows you to validate a candidate password and then store it as a variable for use in calling shell scripts later in your application. I use some similarly-developed code and it works quite well; in all the versions/updates for Jaguar and Panther rolled together it hasn't yet broken.
Practically, the password is stored as a plain-text variable in runtime memory, so it's not encoded or encrypted after it's returned from this routine. Though you'd have to be doing a good bit or work to have access to memory and runtime variables within a running application to get at that...
Best,
Steve Elliott
| References: | |
| >Red shirt stuff (From: Richard MacLemale <email@hidden>) | |
| >Re: Red shirt stuff (From: "S. Elliott" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.