Adding Security to FileCloud Document Converter
To make the Document Converter more secure when converting certain types of files
First configure Document Converter to use a security key:
- Create an ini file under /opt/fcddocconverter (Linux) or C:/XAMPP (Windows) with the name fcdocconverter.ini
- Enter the following line into the file and save it:
FCDOCCONVERTER_SECURITY_KEY=hello#$%world - Start the Document Converter service. See LibreOffice for help.
- Look into converter logs and make sure it starts in secure mode
Look for a log line that reads: "Found a security key in the ini. Will be check this key for all requests."
Then configure FileCloud to send the security key with every request to Document Converter:
- Configuring FileCloud to send security key with every request to FC Docconverter
- Edit the file WWWROOT/config/cloudconfig.php and add the following definition line:
define('TONIDOCLOUD_FCDOCCONVERTER_SECURITY_KEY','hello#$%world');
- Edit the file WWWROOT/config/cloudconfig.php and add the following definition line: