Security information: Difference between revisions

m
no edit summary
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
Line 25: Line 25:
*Possibility to force HTTPS <sup>[*9]</sup>.
*Possibility to force HTTPS <sup>[*9]</sup>.


<source lang="php">
<syntaxHighlight lang="php">
//conf/conf.php file
//conf/conf.php file
//example of $dolibarr_main_force_https  configuration
//example of $dolibarr_main_force_https  configuration
$dolibarr_main_force_https = '1';//to force https
$dolibarr_main_force_https = '1';//to force https
</source>
</syntaxHighlight>


{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
Line 71: Line 71:


Note that it is also recommanded to protect your web server by disabled Apache option
Note that it is also recommanded to protect your web server by disabled Apache option
<source lang="ini">
<syntaxHighlight lang="ini">
AcceptPathInfo Off
AcceptPathInfo Off
</source>
</syntaxHighlight>


'''Pages and files access'''
'''Pages and files access'''