How to restrict access(anonymous) crx/de if dispatcher not installed on instance,please any suggestions ,advise.
I went through the
and on that the below url doesnot have the details
See if this helps you :- http://aemfaq.blogspot.in/2013/05/blocking-anonymous-access-to-crx-in-non.html
// Blocking anonymous access to Crx in a non dispatcher protected instance
Solved! Go to Solution.
The sling filters can be a good example to achieve this. I have an example where I sjow custom screen based on user, you can redirect user to home screen if he try to access crx de
create a clientlib (js) at any location(in above example it is at /apps/AEM63App/clientlibs/crxredirect.js) with below code e.g.
curl -u $AEMUID:$PWD -Faction=$ACTION \ http://$H:$P/system/console/bundles/com.adobe.granite.crxde-lite
curl -u $AEMUID:$PWD -Faction=$ACTION \ http://$H:$P/system/console/bundles/com.adobe.granite.crx-explorer