authentication url in publisher | Community
Skip to main content
New Participant
May 1, 2023
Solved

authentication url in publisher

  • May 1, 2023
  • 2 replies
  • 675 views

Hi

 

I want .model.json(pages) production url, 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.

2 replies

fmateen
New Participant
November 26, 2023

Did you explore, restricting the access via closed user group for the particular URL? 

Basically you have to update the permissions to deny "anonymous" access and allow only a specific user group to access it. Please check https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/cug.html?lang=en

 

The second option is to restrict the access particular URLs at apache httpd (dispatcher) server via htaccess file by creating a rule similar to mentioned below

 

SetEnvIf Request_URI ^/YOURURL auth=1


AuthType Basic
AuthUserFile "/etc/httpd/.myhtpasswd"

# first, allow everybody
Order Allow,Deny
Satisfy any
Allow from all
Require valid-user
# then, deny only if required
Deny from env=auth

 

Vijay_Katoch
Vijay_KatochAccepted solution
New Participant
May 2, 2023