From: | Jim Nasby <jnasby(at)pervasive(dot)com> |
---|---|
To: | gene Campbell <genecampbell8(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Secure connections with changing ip addresses? |
Date: | 2006-07-28 23:13:10 |
Message-ID: | 7A7A9AA2-0809-4E5F-B6EE-32CE72D44EB4@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Jul 28, 2006, at 5:47 PM, gene Campbell wrote:
> I have poked around a bit, and am finally resorting to taking up
> some cycles in this list.
> Please forgive me.
>
> I have a pg_hba.conf file that is setup like this
>
> host db1 user1 222.152.155.194/32 md5
>
> From time to time, my ISP changes my ip address on me.
> At that point, my connection to this DB is denied.
>
> I have to log in (ssh) to my server, edit this file with the new ip
> address, save and restart to get connectivity back.
>
> Is there a way to have a secure connection that can withstand
> changing ip addresses?
Not via an IP address, but you have bigger issues. You're passing all
your info unencrypted over the internet (basically including the
password).
You should really setup SSL. That would also allow you to do
certificate-based authentication.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2006-07-28 23:18:26 | Re: Shared buffers |
Previous Message | gene Campbell | 2006-07-28 22:47:26 | Secure connections with changing ip addresses? |