Hi,
I am facing a security audit issue.
On the author instance of AEM 6.1 we have restricted user access to AEM communities, as communities is not used in our project.
But the error show by AEM reveals all the details of paths and components which we need to hide due to security concerns.
Is there any possible way, were we can hide this error message and show a customized access denied message to the users who are restricted from using Communities > Sites.
Please find the attached image for details about the error show which I need to hide as the security team has raised concerns over the internal paths shown in this errors.