06-11-2020 04:29 AM
Hi All,
We are using ACS 5.2.6 with windows os.
We have recieved the security vulnerability titled:- HTTP security headers not detected.
And for the same we have two solution:-
1. Security filters and clickjacking mitigation
SecurityHeadersPolicy is a Java Servlet filter that applies HTTP response headers to incoming requests in Share. The headers that are returned are defined in a configuration section called SecurityHeadersPolicy in alfresco-security-config.xml.
<config evaluator="string-compare" condition="SecurityHeadersPolicy"> <headers> <header> <name>X-Frame-Options</name> <value>SAMEORIGIN</value> </header> <header> <name>X-Content-Type-Options</name> <value>nosniff</value> </header> <header> <name>X-XSS-Protection</name> <value>1; mode=block</value> </header> </headers> </config>
2. X-Frame-Options header
Adding this header to an HTTP response tells the browser whether Share pages are permitted inside iframes. In our default configuration we have set this to SAMEORIGIN which means that Share pages are only permitted inside iFrames inside Share or in other web applications that live under the same domain.
<config evaluator="string-compare" condition="SecurityHeadersPolicy"> <headers> <header> <name>X-Frame-Options</name> <value>DENY</value> </header> </headers> </config>
Can any one suggest which one will be the perfect solution for the same.
Currently we are planning to go with solution no 2(X-Frame-Options header)
06-15-2020 08:20 AM
Hi @Mohammadsherani,
As I customer I advise you to raise a ticket through the customer support portal.
HTH,
Explore our Alfresco products with the links below. Use labels to filter content by product module.