The HTTP(s) protocol is supported and used for various things.  Primarily the [WebInterface] uses the port.  However, its also used for [WebDAV] and for Server Administration.  HTTP(s) is also used for tunneling FTP to make it secure, and to accelerate file transfers in the [WebInterface] with the integrated [CrushTunnel|High Speed File Transfer] as part of the high speed file transfers.

[attachments|headers.png]

Trust Headers allow for trusting a front end identity management solution that inserts trust headers into the HTTP responses so CrushFTP doesn't need to validate authentication.\\

The trust headers work like this:\\

Say you have the header {{{X-Trusted-Username}}} then you would enter in a value in CrushFTP of:
{{{
X-Trusted-Username=user_name
}}}
You are mapping header values to CrushFTP values.\\
\\
So the trust of the server comes down to the identity management controlling headers and in no way allowing anyone access to the server who could spoof the header.  CrushFTP is blindly trusting the header if present with whatever username as having been already authenticated.  So any exposure of the CrushFTP server to the outside internet makes it insecure, or exposure on the LAN, etc.  It must always be behind the identity management solution your using.\\


For [reverse proxy|Reverse Proxy Apache], if Apache is doing HTTPS and CrushFTP is doing HTTP, those protocols are "opposite".  Precede the reverse proxy path with a "!" as in the example screenshot for the reverse proxy path of "/crushftp/".  This tells CrushFTP the user's protocol is the opposite of what CrushFTP's thinks it is.

[attachments|reverse_proxy.png]

You can also make CrushFTP the [reverse proxy server|reverse proxy] protecting a back end resource.

The HTTPS port can do *[SNI]* as well to handle multiple SSL certificates.