Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.0 Author Loads very Slow & each Request loads with CSRF.js

Basetti_Krishna
Level 1
Level 1

Dear All,

We are working with AEM 6.0 & when ever we open Site admin and pages - each request loading with CSRF.js https://<<DOMAIN NAME>>/etc/clientlibs/granite/jquery/granite/csrf/source/csrf.js

How to disable this CSRF.js calling? It is happening only with AUthor when we are trying to access with DOMAIN NAME.

If I open with IP then this call is not generating.

1 Accepted Solution
vaibhavs7024655
Correct answer by
Level 3
Level 3

Hi Krishna,

CSRF request is triggered with every POST request. It is very important for security purposes and should not be disabled. Disabling it can be a security threat.

However, if you still want to do it then log into the OSGi console & stop the bundle "Adobe Granite CSRF Framework(com.adobe.granite.csrf)".

By disabling the bundle "Adobe Granite CSRF Framework (com.adobe.granite.csrf)", CSRF protection will be disabled. This is a security risk and should be done with caution.

View solution in original post

2 Replies
vaibhavs7024655
Correct answer by
Level 3
Level 3

Hi Krishna,

CSRF request is triggered with every POST request. It is very important for security purposes and should not be disabled. Disabling it can be a security threat.

However, if you still want to do it then log into the OSGi console & stop the bundle "Adobe Granite CSRF Framework(com.adobe.granite.csrf)".

By disabling the bundle "Adobe Granite CSRF Framework (com.adobe.granite.csrf)", CSRF protection will be disabled. This is a security risk and should be done with caution.

View solution in original post