Cloud AEM: is there a way to block access to some content by IP, without hacking the dispatcher configs? | Community
Skip to main content
Level 8
October 25, 2021
Solved

Cloud AEM: is there a way to block access to some content by IP, without hacking the dispatcher configs?

  • October 25, 2021
  • 3 replies
  • 2462 views

WE can block access to the entire site using AEM Cloud Managers IP whitelisting feature.

 

The business wants to hide only specific directories of content.

 

We can do this via dispatcher config, but this requires a release cycle (which is 2-4 weeks), so if they want to add/remove an IP, or protect a new folder, its a long wait.

 

Is there any in built way to do something like this in AEM cloud?

 

We could create a servlet filter for all pages, create a settings page that allows content editors to administer the IPs and folders list, then the servlet checks this for every request which comes in, but we are worried this will affect performance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kiran_Vedantam

Hi @tb3dock 

 

Not sure what you meant by "specific directories of content" .If you are looking to restrict the access to the assets, you can try CUG here

 

https://experienceleague.adobe.com/docs/experience-manager-learn/assets/advanced/closed-user-groups.html?lang=en

 

Hope this helps!

 

Thanks,

Kiran Vedantam.

3 replies

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
October 25, 2021

Hi @tb3dock 

 

Not sure what you meant by "specific directories of content" .If you are looking to restrict the access to the assets, you can try CUG here

 

https://experienceleague.adobe.com/docs/experience-manager-learn/assets/advanced/closed-user-groups.html?lang=en

 

Hope this helps!

 

Thanks,

Kiran Vedantam.

TB3dockAuthor
Level 8
November 3, 2021

Thanks for the reply. By content I mean pages (specifically a subdirectory of pages), not assets, unfortunately.

SantoshSai
Community Advisor
Community Advisor
October 26, 2021
April 12, 2023

I am very sad to see what you are experiencing.
Hacking sometimes does harm other people. I can't help you much, because I only know about Cara Hack IG. Which my friend once used to hack Instagram accounts.
But I've heard stories from my friend's experience that it can be overcome in many ways.
One of them uses the Forgot Password method. Or maybe answer the Security Question as well. Also Two Factor Authentication.