Determines if local file opening is allowed.
Uses reflection to avoid hard dependency on semanticcms-openfile-servlet.
must be explicitly enabled by setting the
context parameter to
For security, OpenFile may only be called from localhost. However, be careful when behind a proxy, as external proxied requests can appear to come from localhost.
OpenFile may be enabled for development but disabled in production by selectively including the semanticcms-openfile-servlet dependency by profile. By not including the dependency in production builds, the code is not simply disabled, but is not even included in production.
|Function Signature:||boolean isOpenFileAllowed()|