Skip to content

v2.45 Updated download_backup.php

Choose a tag to compare

@flusity flusity released this 07 Feb 16:20
6acffd3

Update download_backup.php file. Integrated 'basename()' function to protect against path traversal vulnerabilities, implemented authentication via checkIfAdmin() to prevent unauthorized file downloads, and added file_exists() and is_file() checks to ensure that only allowed files from the specified directory are downloaded.