Posted by petersprc on 10/03/06 19:55
If the remote host has ssh access, you could setup key-based
authentication and transfer files over ssh:
http://software.newsforge.com/software/04/03/15/211214.shtml
You could also store the password (or a key to decrypt the password) in
a file that no one else has access to, or supply the password to the
script each time you connect to the remote site.
livefreeordie wrote:
> Hi,
>
> I'm part of a 5-person team that develops websites for our company. I
> need to use the ftp_* functions to find some files on another file
> server. I need to authenticate to the file server using my username &
> password but I don't want to have it right there in the script in plain
> text.
>
> Any suggestions?
Navigation:
[Reply to this message]
|