I don't exactly understand your problem but I think you want to secure
access to a certain part of your webserver instead of our your MySQL
server. If you are running apache you can secure complete directories with
.htaccess files.




On Wed, 18 Apr 2001, Sam Yenge wrote:

> Hi
> 
> (Re: mysql 3.23.33 )
> 
> I have got mysql running fine with the only problem that every connections
> made to it through a web browser (using cgi scripts) are considered as
> coming from localhost. In this way, I cannot limit the machines that
> should be allowed access. I read the manual pages, cleaned up user and
> host tables to remove all the default settings but the problem persists.
> 
> The name of the server is being picked up from my scripts in the
> my ($dbh) = DBI->connect(.....:localhost/machine's name,...)...
> 
> All other machines for which permission was granted are being ignored and
> granting users permission to connect from localhost/its real name allows
> access from any host which is not what I wanted.
> 
> Wherever the connection comes from, the log file shows:
>   Connect username@localhost dbname
>   Query ...
> 
>  or
> 
>   Connect username@machinename dbname
>   Query ...
> 
> 
> Any idea??
> 
> Thanks
> 
> Sam
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail 
><[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to