authentication url in publisher | Community
Skip to main content
Level 2
May 2, 2023
Solved

authentication url in publisher

  • May 2, 2023
  • 3 replies
  • 973 views

Hi

 

I want .model.json(pages) url in production publisher , access via authentication for avoiding webcrawler.

Can i know possible solution?

@Vijayalakshmi_S

My server is AEM 6.5 

Thanks

Dillibabu

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 RajaShankar

@dillibabu77 

Please check Below options

a) Enable Closed User Group for this page so that only on authentication you can access this page in publisher.But with this regular access of page.html will also get authenticated.

b) in Robots.txt block these page crawl my mentioning under disallow only for  .model.json(pages)

User-agent: *

Disallow: /

 

Regards,

Rajashankar

3 replies

Rohit_Utreja
Community Advisor
Community Advisor
May 2, 2023

Hi @dillibabu77,

 

It can be achieved by making some configuration in the AEM dispatcher.

Please have a look at the below URL for your reference.

https://www.albinsblog.com/2021/09/how-to-enable-basic-authentication-for-aem-and-cloudmanager.html#.YbH6ob1Bw2w

 

Hope it helps

Regards,

Rohit

RajaShankar
Community Advisor
RajaShankarCommunity AdvisorAccepted solution
Community Advisor
May 2, 2023

@dillibabu77 

Please check Below options

a) Enable Closed User Group for this page so that only on authentication you can access this page in publisher.But with this regular access of page.html will also get authenticated.

b) in Robots.txt block these page crawl my mentioning under disallow only for  .model.json(pages)

User-agent: *

Disallow: /

 

Regards,

Rajashankar

Nikhil-Kumar
Community Advisor
Community Advisor
May 2, 2023