varnish .htaccess IP restrictions

Anton Kornexl Anton.Kornexl at Uni-Passau.De
Mon Mar 24 17:54:54 CET 2014


Hello,

our users can enter IP access restrictions in .htaccess files
e.g .allow from 1.2.3.4
deny from 2.3.0.0/16

If a client from 1.2.3.4 accesses a file in the restricted location, it
is successfully fetched from varnish and cached in varnish.
Later another client from 2.3.4.5 request the same file and receives
the cached file without checking the IP address.

Is there a way to automagically add and check such restrictions to
cached objects?


-- 
Kindly regards
Anton Kornexl

Rechenzentrum Universität Passau
Innstr. 33
D-94032 Passau
Tel.: 0851/509-1812
Fax:  0851/509-1802

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kornexl, Anton.vcf
Type: application/octet-stream
Size: 244 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140324/fc7f3c40/attachment.obj>


More information about the varnish-misc mailing list