Yet another solution for access restriction: This host filter. Lets you restrict access to some resources (as per filter's mapping in web.xml file) to the particular host (hosts) only. Hosts should be described by their IP's (comma separated list). By default the localhost (127.0.0.1) only is allowed.
P.S. and for access restriction via setting mandatory referer you can see Force referer filter.
No comments:
Post a Comment