Enabling QueryBuilder on Publish Server:Key consideration and Authentication on Adobe Cloud Server | Community
Skip to main content
New Participant
May 23, 2023
Solved

Enabling QueryBuilder on Publish Server:Key consideration and Authentication on Adobe Cloud Server

  • May 23, 2023
  • 2 replies
  • 683 views

Hi All, 

We have a requirement to enable Querybuilder URL[1] on the publish server. 

 

https://localhost:4502/bin/querybuilder.json?p.guessTotal=true&p.limit=10&path=%2fcontent%2fdam&property=jcr%3acontent%2fcq%3alastReplicationAction&property.value=Activate&type=dam%3aAssets

 

Before procedding with the enablement,it is important to understand the key considerations that need to be taken into account. 

Is it necessory to implement any authentication mechanism for querybuilder. 

 

Can you please share your valueble inputs on the subject?

 

Environment - Adobe Cloud Services

 

 

 

 

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 aanchal-sikka

Hello @nj2 

 

Opening querybuilder can easily increase your chances of attacks.

 

1. One could generate any number of queries affecting your system.

2. If one queries on a param which is not indexed, it will affect the performance of the system.

3. One can know the entire structure of the site by firing queries.

4. Large queries will have further impact to the system

 

 

 

2 replies

ManviSharma
Employee
May 23, 2023

Hi,

 

In Adobe Cloud Services, additional authentication mechanisms may be required to enable the Querybuilder URL on the publish server. This is because the Querybuilder exposes sensitive information about the content structure and properties of your AEM instance. Implementing proper authentication and authorization mechanisms, such as configuring user credentials or integrating with an identity provider, can help ensure that only authorized users can access the Querybuilder API and protect sensitive information.

aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
May 23, 2023

Hello @nj2 

 

Opening querybuilder can easily increase your chances of attacks.

 

1. One could generate any number of queries affecting your system.

2. If one queries on a param which is not indexed, it will affect the performance of the system.

3. One can know the entire structure of the site by firing queries.

4. Large queries will have further impact to the system

 

 

 

Aanchal Sikka