There are some HTTP security headers in the world of cyber security of web applications. These are e.g.:
- X-XSS-Protection (deprecated)
All of them are instructions for web browsers as far as I know. When a web browser takes this instruction that comes from HTTP response packet of web application server, it behaves according to related to HTTP security header's job on the "client side". All is fine. But, the thing which I wonder is:
When these HTTP security headers are used in a web service server instead of a web application server (e.g. SOAP web service server, or REST API web server), these security headers are still functional to use?
For instance; if the consumer of a web service server is a web application, then the client is web browser. Then are these security headers functional in this situation or redundant?
Or is it like that: the consumer of a web service doesn't matter, all these HTTP security headers are functional in just web applications?
Shortly, are HTTP security headers only for web browsers? This question's answer will clarify the situation. If question's answer is yes, then HTTP security headers are functional when a web service consumer is an web application, right?