Add RBAC checks to ConfigsController edit() and delete() requiring System=Edit permission, matching the pattern used by other controllers. Harden System/Readonly column checks with !empty() to handle missing columns gracefully. Fix command injection in Event.php by using ZM_PATH_FFMPEG constant with escapeshellarg() instead of hardcoded unsanitized ffmpeg call. Add is_executable() validation at all exec() sites using ZM_PATH_FFMPEG as defense-in-depth against poisoned config values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| lib/Cake | ||
| .editorconfig | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| README.md | ||
| build.properties | ||
| build.xml | ||
| composer.json | ||
| index.php | ||
README.md
ZoneMinder API
This is the ZoneMinder API. It should be, for now, installed under the webroot e.g. /api.
app/Config/database.php.default must be configured and copied to app/Config/database.php
In addition, Security.salt and Security.cipherSeed in app/Config/core.php should be changed.
The API can run on a dedicated / separate instance, so long as it can access the database as configured in app/Config/database.php