Installation
This guide will walk you through the process of installing Sentinel on your PrestaShop store.
Prerequisitesβ
Before installing Sentinel, ensure your system meets these requirements:
- PrestaShop 1.7.7.x - 8.2.3
- PHP >= 7.2
- Write permissions for
/modulesand/var/logsdirectories
Download the Moduleβ
π¦ Download Sentinel (Latest Version)
Or browse all versions on the releases page.
Installation Methodsβ
Method 1: Installation from Back Office (Recommended)β
-
Download the module
Download the latest version using the link above.
-
Install the module
Log in to your PrestaShop admin panel and navigate to:
Modules > Module Manager
Click the Install a module button
Select the sentinel module zip file
Method 2: Manual Installationβ
-
Download the module
Download the latest version using the link above.
-
Extract the archive
Extract the ZIP file to your PrestaShop
/modulesdirectory:cd /path/to/prestashop/modules
unzip sentinel-1.0.0.zip -
Activate the module
Log in to your PrestaShop admin panel and navigate to:
Modules > Module Manager
Search for "Sentinel" and click Install.
Post-installationβ
Verify Installationβ
After installation, verify that Sentinel is working correctly:
- Check that the module appears in Modules > Module Manager
- Ensure the module status is "Enabled"
Check Permissionsβ
Ensure the logs directory has write permissions:
chmod 755 /path/to/prestashop/var/logs
Test Protectionβ
You can test that Sentinel is protecting your store by attempting a benign SQL injection pattern in your browser:
https://yourstore.com/index.php?test=SELECT+SLEEP(1)
You should see a page blocked by Sentinel with a 403 error.
Only test with benign patterns and on your own store. Never attempt real attacks.
Troubleshootingβ
Permission Errorsβ
If you encounter permission errors during installation:
# Set correct ownership (replace www-data with your web server user)
sudo chown -R www-data:www-data /path/to/prestashop/modules/sentinel
# Set correct permissions
sudo chmod -R 755 /path/to/prestashop/modules/sentinel
Module Won't Activateβ
If the module fails to activate:
- Check PHP error logs:
/var/log/apache2/error.logor/var/log/php-fpm/error.log - Verify PrestaShop version compatibility
- Check file permissions
Post-installation Configurationβ
1. Enable Auto Prepend File Protection (Recommended)β
For complete protection, enable Auto Prepend File protection:
- Go to Modules > Sentinel > Configuration
- Click Install Auto Prepend File
- If automatic installation fails, follow the manual instructions
2. Run a Vulnerability Scanβ
Check if your installation contains known vulnerabilities:
- Go to Modules > Sentinel > Security Scanner
- Click Run Scan
- Review the report and fix detected vulnerabilities
3. Monitor Logsβ
Logs are automatically created in /var/logs/sentinel-YYYY-MM-DD.log
See the Security Logs guide to learn how to analyze them.
Next Stepsβ
Now that Sentinel is installed, learn more about: