Hi All,
I have a requirement to enable basic authentication on stage dispatcher. Idea is to create a sample/test user through which stage dispatcher will be accessible.
I was going through below link
But I am not sure how to run the below commands on cloud
htpasswd -c /etc/httpd/conf.d/htaccess/credential.htpasswd testuser
Is there any other way around I can achieve this on AEM cloud environment?
Any help is highly appreciated.
Thanks,
Pradeep
Views
Replies
Total Likes
You can run this command on your local machine and include the resulting file in a dispatcher deployment. Technically it's possible, not sure if the constraints given the by the dispatcher in AEM CS allows you to do that.
Why do you want to have that? Keeping the google bot and drive-by-traffic out of your stage env? Or is it a more serious requirement for authentication?
Yes we need to avoid stage data to go to google search engine that is one of the requirement.
Now what I did as per the link above
authentication.conf file has below content
Hi
Were you able to get this working by any chance. If yes, can you please share the detailed steps followed.
We have the same requirement to enable login popup for basic authentication in dev environment.
Views
Replies
Total Likes
Hi,
We have used customer managed CDN feature to have basic auth before site opens. Also we have used other option 'custom header' again at CDN layer. Both these solutions worked in our use case.
Views
Replies
Total Likes
And what is the validity of the token once user enters credentials in login pop-up.
I see that login popup comes for first time and after that for subsequent hits its not coming even in incognito mode.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies