My Oracle Support Banner

How to Hide the HTTP Headers "X-Powered-By:" and "Server:" Sent by Glassfish (Doc ID 1495492.1)

Last updated on JULY 24, 2023

Applies to:

Oracle GlassFish Server - Version 2.1 and later
Information in this document applies to any platform.


The Goal is to hide the "X-Powered-By" and "Server" headers from Glassfish HTTP headers.
For security reasons, it may be a good idea to not tell the world which server you are using.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.