You are here: Re: How to hide username / password when using FTP functions « PHP Programming Language « IT news, forums, messages
Re: How to hide username / password when using FTP functions

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация