0

I want to remove X-Powered-By and Allow methods from response. How to remove or add filter to remove these parameters from response from server?

1
  • Is it not possible from Worklight Adapter? Commented Jul 14, 2016 at 6:36

2 Answers 2

1

You can do this in your server or in your load balance or proxy or any such HTTP Server. See for example: https://developer.ibm.com/answers/questions/243439/how-can-we-remove-the-x-powered-by-response-header.html

Sign up to request clarification or add additional context in comments.

Comments

0

You should add below lines in project Web.Config File. That should help.

<httpProtocol>
  <customHeaders>
    <remove name="X-Powered-By" />
    <add name="X-Frame-Options" value="DENY" />
  </customHeaders>
</httpProtocol>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.