Reply to Re: [mySql] How to keep passwords secure

Your name:

Reply:


Posted by David on 12/10/06 18:49

Skijor wrote:
> I just finished writing my first php script that manipulates a simple
> shopping cart on a mySql database. I started with an example I found
> on the web. The example hardcodes the database server, name, user, and
> password in a php include file. This file is then included in every
> php script that needs access to the database.
>
> How do I make this scheme secure? I assume this is ok as long as this
> file remains inaccessible on the webserver. How to guard against
> access?
>

you could place it outside the Document Root or within a protected
directory.

[Back to original 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

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