[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Checking user-id's and paswords



>Is it possible from within MacPerl to check a supplied
>username/password against the users setup in 'Users and Groups'?
>
>Esentially I want to use the same userid/password pair to validate a
>Web form submition as the pair already used to validate Mac
>filesharing and NetPresenz FTP access to the server. And yes, I do
>know that submiting a 'password' form a form is spectacularly
>insecure, but I can't see a better way of doing it.
>
>Jon.

I know a very good (and difficult) way to do it:

Write the crypt() routine in Javascript or Java, and have it submit an
encrypted password to be decrypted with perl's crypt() routine, or

Use a DES routine (similarly constructed) and then use DES.pl to get the
password back out.

Just possibilities,
Seraph

PS- if you, or anyone reading this, WOULD be interested in Java or
Javascript and writing the crypt routine there, please let me know- I'd
love to do a collaboration.



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch