You are here: Re: Passwording a MySQL Database « PHP Language « IT news, forums, messages
Re: Passwording a MySQL Database

Posted by Chris on 11/14/07 11:22

On Thu, 28 Jul 2005 11:51:06 +0000 (UTC), Rob
<rob.@.no.spam.please.tbswebdesign.com> wrote:

>Gordon Burditt wrote:
>>>I have a PHP query for a MySQL database that I'd like to restrict
>>>access to. It's linked from a .htm webpage with other links on a
>>>company intranet site.
>>
>>
>> Restrict based on *WHAT*? IP address the client is connecting
>> from, username/password, SSL certificates, retinal eye scanner,
>> something else?
>>
>> Gordon L. Burditt
>LOL nice gordon,
>I think if its a "feature" you only want a "site admin" to access the
>best option would be to drop the query in a file... "admin.php" and put
>it in a directory "admin" where by you use .htacess to password up the
>directory.
>
>An example of what your trying to do chris might help a little bit more :)
>
>Cheers
>Rob

I think you pretty much hit it on the head, Rob. I have a series of
databases on a dedicated server that are designed to compliment a
worthless CMMS bringing more data to a group of guys. for now, the
admin idea would work fine since I'll be the only one accessing 2 of
those databases but eventually, may free up the access to a small
group within a department as usable information. At that point,
either a shared password OR allow known IPs would be effective and
actually, known IPs may be better in that the extra step of entering
something would be bypassed. thanks for the replies, gents.

 

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

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