WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  MISCONFIGURED SECURITY HEADERS

    Posted 2 days ago

    Dear Team

    How do we configure missing HTTP Header on TWAS 9.0.5.x

    The headers should be set as follows
    - Set the X-XSS header as follows: X-XSS-Protection: 1;mode=block
    This enables the filter and instructs the browser to block the entire page if an XSS attack is detected. This is more secure than just 1.

    MISCONFIGURED SECURITY HEADERS
    The web application does not have the security headers set correctly:
    - Cross Site Scripting Protection (X-XSS): This protects against Cross-Site Scripting attacks sniffing.
    X-XSS-Protection: 1; This enables the browser's XSS filter but does not block the page if an attack is detected.

    Thanks



    ------------------------------
    Adeoye Omoboya
    ------------------------------


  • 2.  RE: MISCONFIGURED SECURITY HEADERS

    Posted yesterday

    Hello Adeoye,

    what does your environment look like? Do you have an Apache and/or HTTP Server before your tWAS deployment? If yes you could use the mod_headers (https://httpd.apache.org/docs/current/mod/mod_headers.html) module to set response headers if needed.

    Hope this helps. 



    ------------------------------
    Hermann Huebler
    Cloud Architect
    Alpium IT Solutions GmbH
    Vienna
    Austria

    #IBMChampion
    ------------------------------