Expand my Community achievements bar.

SOLVED

authentication url in publisher

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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

View solution in original post

3 Replies

Avatar

Community Advisor

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#...

 

Hope it helps

Regards,

Rohit

Avatar

Correct answer by
Community Advisor

@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