On 17/05/11 22:46, Woo, Hye Jin wrote:
But, I have to enter id and pw in perl script.(example below)
It make security weak.
If you make sure the script is only readable by the user executing it
then only they will be able to see the password.
Alternatively, on a *NIX system, store the password in a configuration
file (and use something like Config::General to load it) which is only
readable by a secured user. You can then setuid [1] the script to
execute as that user - however, take note of any security issues this
might infer.
Cheers,
Pete
[1] http://en.wikipedia.org/wiki/Setuid
NET-A-PORTER.COM
Irresistible fashion at your fingertips
______________________________________________________________________
CONFIDENTIALITY NOTICE
The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you must not read, use or disseminate the information. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Net a Porter Ltd.
Net A Porter Ltd is a company registered in England & Wales Number: 3820604
Registered Office: 1 The Village Offices, Westfield, Ariel Way, London, W12 7GF
_____________________________________________________________________
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/