1 |
On Thu, April 25, 2013 07:48, Joseph wrote: |
2 |
|
3 |
<SNIP> |
4 |
|
5 |
> I just tried as you suggested, the only active line in: pg_hba.conf |
6 |
> local all all trust |
7 |
> |
8 |
> anything else is commented out. I restarted the server but I still can |
9 |
> connect to postgresql from another computer via Firefox. |
10 |
|
11 |
Joseph, |
12 |
|
13 |
Let me put it in really simple terms: |
14 |
1) Firefox is NOT a database client, it can NOT connect to a database |
15 |
2) Firefox IS a webbrowser, it ONLY connects to a webserver |
16 |
|
17 |
This means, Postgresql will NOT see ANY connection made by Firefox. |
18 |
|
19 |
The website you have running ON TOP OFF apache makes the connection to |
20 |
Postgresql. |
21 |
|
22 |
Eg. it goes like the following: |
23 |
|
24 |
User <-> Firefox <-> Apache/website <-> Postgresql |
25 |
|
26 |
Any of the above can ONLY see their immediate neighbour. |
27 |
|
28 |
-- |
29 |
Joost |