-
1. Re: Restrict access to specific webpages for requests coming from specific IP addresses
nitin_jain Feb 21, 2018 1:48 AM (in response to nitin_jain)Hello Forum,
I have a solution to the problem. In order to restrict requests originating from an IP address, limit access to a particular URL; however all any/all requests originating from other IP addresses, one can use the following.
<expression-filter name="ip-access-rule-1" expression="not path-prefix('/screens/landing/case-list') -> ip-access-control(default-allow=true, acl={'11.240.19.14 deny'})"/>
Thanks
Nitin Jain
-
2. Re: Restrict access to specific webpages for requests coming from specific IP addresses
sarathgadde25 Aug 7, 2018 1:03 AM (in response to nitin_jain)Hi Nitin,
Hope you are doing great !!!
I have an requirement to restrict access only to specific configured servers. WildFly should forbid the requests coming from other servers.
We have a Java API WAR file deployed in WildFly-8.2.0 and this API should be processed within the system such that no source/server should access this API. WildFly should process the REST calls coming only from the configured servers (or IP Addresses) and should forbid the requests coming from other servers (or IP Addresses). Can you please help me to implement this in WildFly-8.2.0.
Thanks,
Sarath G