almaviacx / restrictedsiteaccess
AlmaviaCX Restricted SiteAccess Bundle provide a restriction of one or more siteaccess by IP addresses for ibexa 4.x in case it is impossible to restrict by nginx/apache or .htaccess. Useful for restricting a siteaccess on platform.sh
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 8
Forks: 1
Open Issues: 0
Type:ibexa-bundle
Requires
- php: >=7.4
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-24 18:23:03 UTC
README
AlmaviaCX Restricted SiteAccess Bundle provide a restriction of one or more siteaccess by IP addresses for ibexa 4.x in case it is impossible to restrict by nginx/apache or .htaccess. Useful for restricting a siteaccess on platform.sh
Installation
Use Composer
Add the lib to your composer.json, run composer require almaviacx/restrictedsiteaccess
to refresh dependencies.
Register the bundle
Then inject the bundle in the config\bundles.php
of your application.
return [ // ... AlmaviaCX\RestrictedSiteaccess\AlmaviacxRestrictedSiteaccessBundle::class => ['all' => true], ];
Add parameters
The values can be updated according to the project specification
# config/packages/ibexa.yaml parameters: ... acx_acl.default.siteaccess_controls: 'siteaccessname': enabled: true authorized_ips: - 192.168.16.1 - X.X.X.X 'admin': enabled: true authorized_ips: - 192.168.16.1 - X.X.X.X