You are here: Re: mysql_connect and encrypted password « PHP Programming Language « IT news, forums, messages
Re: mysql_connect and encrypted password

Posted by Jerry Stuckle on 10/09/07 11:45

Shmuel wrote:
>> The mysql_connect() call gets the password your website uses on the
>> database. That should NOT be the same as your user's passwords.
>> Rather, it should be something you keep secret from anyone else.
>
> Yes, but I connect to the user's database (over the net) dynamically,
> getting the values from my database. I'm working on a CMS that
> is used to modify data in databases that are not on the same server,
> they are wherever the user have them. And also I don't have access
> to the mysql database on my hosting provider, so I couldn't store
> there the user details there.
>
>
>
>

First of all, most hosts disallow connections from over the internet,
for security reasons. I know all of my sites are like that. You can
connect from the server Apache is running on, but that's all. So right
there you're going to have a problem.

And you wouldn't store them in the mysql tables, anyway. That would be
the userid and passwords for your MySQL. You store them in your own tables.

And finally, you need to be asking these questions in
comp.databases.mysql. None of this has anything to do with PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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