DHCP and pg_hba.conf

From: bryanh(at)giraffe-data(dot)com (Bryan Henderson)
To: pgsql-general(at)hub(dot)org, theotiwii(at)earthlink(dot)net
Subject: DHCP and pg_hba.conf
Date: 2000-03-07 02:06:33
Message-ID: 200003070206.SAA02133@giraffe.giraffe-data.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>...the client IP address is assigned dynamically.
>
>That being the case, how does one set up access / security in the
>pg_hba.conf file (since it requires ip addresses)?

It doesn't require IP addresses unless you want to limit access by IP
address. And since your users don't have predictable IP addresses, you
don't want to limit access by IP address.

So just specify wildcards for the IP address: *.*.*.* .

Of course, if you want to restrict access some other way, that's another
matter. Hba allows password authentication, for example.

See the sample file pg_hba.conf.sample for details.

--
Bryan Henderson Phone 415-505-3367
Olympia, Washington

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bryan Henderson 2000-03-07 02:26:02 Re: [GENERAL] database corruption?
Previous Message Ron Atkins 2000-03-07 01:57:12 Re: [GENERAL] Accounting/inventory systems