D
dan baker
I have figured out how to use LWP:UserAgent and authorization_basic()
to enable POSTing from one script to another under htaccess (in the
same directory on the same server)... However this requires passing
the user's password in clear text, which means I have to have all the
passwords stored in clear text on the server, which I'm not crazy
about for security.
what I'd really like to be able to do is grab the credentials of
whomever is logged in running the first script, and allow them to run
the second script via the UserAgent.
Is this possible?
are the credentials() or get_basic_credentials() the methods to use to
do this?
I've read the docs on these methods, but could not find any real
details or examples about what they do or how to use them. Does anyone
know of a tutorial or example on what these methods can be used for?
thanks,
D
to enable POSTing from one script to another under htaccess (in the
same directory on the same server)... However this requires passing
the user's password in clear text, which means I have to have all the
passwords stored in clear text on the server, which I'm not crazy
about for security.
what I'd really like to be able to do is grab the credentials of
whomever is logged in running the first script, and allow them to run
the second script via the UserAgent.
Is this possible?
are the credentials() or get_basic_credentials() the methods to use to
do this?
I've read the docs on these methods, but could not find any real
details or examples about what they do or how to use them. Does anyone
know of a tutorial or example on what these methods can be used for?
thanks,
D