Files
ofbiz-framework/framework/webapp/config/requestHandler.properties
T
Jacques Le Roux 4c593a6d33 1st step for "Secure HTTP headers" https://issues.apache.org/jira/browse/OFBIZ-6766
Here are X-Frame-Options and Strict-Transport-Security, just a start...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719660 13f79535-47bb-0310-9956-ffa450edef68
2015-12-12 11:37:56 +00:00

14 lines
664 B
Properties

# -- N if you want to use external requests, see OFBIZ-5037
throwRequestHandlerExceptionOnMissingLocalRequest=Y
# -- Default HTTP status-code, see OFBIZ-5109
status-code=302
# -- Default Content-Disposition type
# attachment might be replaced by inline if you prefer to offer this option to your users.
# attachment is supposed to be more secure, but this is a bit unclear see OFBIZ-6702 for details
content-disposition-type=attachment
# -- Should we use strict-transport-security? True by default.
# Use false if you don't have a certificate or not a signed one and it annoys you to set "none" for each HTTP request!
#strict-transport-security=false