I tried to add +/crx/explorer/ui/search.jsp in Apache Sling Authentication Service, but it didn't work. How can I restrict anonymous access /crx/explorer/ui/search.jsp?
해결되었습니다! 솔루션으로 이동.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
조회 수
답글
좋아요 수
You cannot with ootb tools. As the CRX Explorer (CRX DE as well!) operates in its own HTTP context, Sling authentication cannot be applied to limit access to specific paths or features of it. When you are authenticated to the repository, you can use all the tools of the CRX Explorer according to the permissions of the underlying repository.
I just want to limit anonymous to access /crx/explorer/ui/search.jsp, I don't want to stop WebDAV.
조회 수
답글
좋아요 수
That you can restrict through user groups, I don't think there's a default config to disable only specific URL.
Check this blog post by @arunpatidar
https://aemlab.blogspot.com/2020/04/aem-crxde-restriction.html
Hope this helps
Thanks
Is it a bug? Why can anonymous access /crx/explorer/ui/search.jsp?
You have two options here:
Go to http://localhost:4502/system/console/configMgr
Search for org.apache.sling.auth.core.impl.SlingAuthenticator.
This setting tells the Sling authenticator to require authentication for the specified path.
In the configuration, you need to add the following property if it doesn't already exist:
sling.auth.requirements = /crx/explorer/ui/search.jsp
Use CRXDE Lite (http://localhost:4502/crx/de) to set the permissions.to /home/users or wherever you manage your users/groups. You should ensure that the anonymous user does not have read access to /crx/explorer
Option 1 is not available, I have already tried it.
조회 수
답글
좋아요 수
Apologies, the correct URL for configurations is http://localhost:4502/system/console/configMgr
I mean this method I have tried it before, it did not work.
조회 수
답글
좋아요 수
You cannot with ootb tools. As the CRX Explorer (CRX DE as well!) operates in its own HTTP context, Sling authentication cannot be applied to limit access to specific paths or features of it. When you are authenticated to the repository, you can use all the tools of the CRX Explorer according to the permissions of the underlying repository.