[PATCH] pgarchives: Allow use of IP ranges for SEARCH_CLIENTS

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] pgarchives: Allow use of IP ranges for SEARCH_CLIENTS
Date: 2021-10-25 15:24:39
Message-ID: 12a52385-ccd5-717d-1d3d-5748ed39f3bd@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Hello,

It's only possible to define single IP addresses in the SEARCH_CLIENTS directive (which defines who can use the search API). This patch allows to use IP ranges such as 0.0.0.0/0.
That said, now that I've understood that SEARCH_CLIENTS should contain pgweb server's IP address and not the end user's one, I'm not entirely sure this patch is useful.
It's up for discussion, then.

Cheers,
--
Célestin Matte

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Célestin Matte 2021-10-25 15:25:37 Re: [PATCH] pgarchives: Allow use of IP ranges for SEARCH_CLIENTS
Previous Message Célestin Matte 2021-10-25 15:04:53 [PATCH] pgarchives: Add pglister section in archives.ini.sample