Ask Your Question
0

How to configure security headers on WebSphere 9.0.5.13?

asked 2021-10-29 11:00:00 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-04-28 09:00:00 +0000

ladyg gravatar image

Configuring security headers on WebSphere 9.0.5.13 involves the following steps:

  1. Open the WebSphere admin console and navigate to the Security section.
  2. Click on the Secure socket layer (SSL) option.
  3. Select the appropriate SSL configuration and click on the Edit button.
  4. Expand the Additional Properties option and click on Custom properties.
  5. Click on Add and enter the following properties and their values: a. com.ibm.ws.webcontainer.enableTransparentContentProtection=true b. com.ibm.ws.webcontainer.security.FilterXSS=true c. com.ibm.ws.webcontainer.security.FilterDisableJS=true d. com.ibm.ws.webcontainer.security.FilterScanUploadFiles=true e. com.ibm.ws.webcontainer.security.FilterEncoding=true

    Note: These properties enable content protection, XSS filter, disable JS execution, scan uploaded files, and encoding.

  6. Save the changes and restart the server.

Once the server is restarted, it will apply these security headers to all incoming requests. You can verify this by checking the headers using a browser extension or a command-line tool such as cURL.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-10-29 11:00:00 +0000

Seen: 8 times

Last updated: Apr 28 '22