Hi Team,
We are trying to allow/restrict few page access based on IP adress. Requirement is if user is connected with VPN, can access resource /content/mysite/us/en/private/*, if not connected, it should give 403 to all.
What we tried as below but its not working. Although IP address is correct in our real filter.
/filter {
........................
......................
/0110 {
/type "deny"
/path "/content/mysite/us/en/private/*"
/ips {
"0.0.0.0/0"
}
}
/0111 {
/type "allow"
/glob "/content/mysite/us/en/private/*"
/ips {
"192.0.0.0/8"
}
}
}
Solved! Go to Solution.
Views
Replies
Total Likes
Checkout https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-... for AEM as Cloud.
For other AEM versions, checkout https://blogs.perficient.com/2022/02/15/ip-whitelisting-through-aem-dispatcher-in-5-easy-steps/
@arvind If you know the audience and can create a group for them then you can use the Closed User Groups(CUG) on the published site.
Sorry thats not what you asked for, but i am throwing the idea since the IP changes needs to be maintained in dispatcher level.
Thanks @Saravanan_Dharmaraj .
Unfortunately CUG/audience is not known. we need to deny/allow based on IP only.
Making change at Dispatcher level is in our scope so Its not an issue
Hello @arvind
Can you configure two virtual host at the dispatcher level?
Deny rule for the internet and an allow rule for the intranet.
Do you have CDN?
It will be better, safe and easy if you manage these kind of stuff at CDN level.
Hope this helps
Umesh Thakur
Checkout https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-... for AEM as Cloud.
For other AEM versions, checkout https://blogs.perficient.com/2022/02/15/ip-whitelisting-through-aem-dispatcher-in-5-easy-steps/
Thanks all for your kind reply. It helped.
We followed below link and able to get the same done.
https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17455.html?lang=en#
Views
Likes
Replies
Views
Likes
Replies