Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SL-195/Validator security fixes #128

Merged
merged 9 commits into from
Nov 23, 2023
Merged

SL-195/Validator security fixes #128

merged 9 commits into from
Nov 23, 2023

Conversation

GytisZum
Copy link
Collaborator

@GytisZum GytisZum commented Oct 27, 2023

• To ensure that PHP files are executed in the PrestaShop context, you must add the following code to the beginning of all PHP files if (!defined('PS_VERSION')) { exit; }

• To prevent someone from listing the files of the module, an .htaccess file must be present in the root folder.

• To prevent someone from reaching the content of a repository, an index.php file must be present in each folder.

@GytisZum GytisZum self-assigned this Oct 27, 2023
@mant02 mant02 merged commit 0b9dd14 into master Nov 23, 2023
@mant02 mant02 deleted the SL-195/security-fixes branch November 23, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants