Another question – is this correct if I want to whitelist a plugin for executing php?
## WP Defender - Protect PHP Executed ##
SetEnvIf Request_URI "multi-currency-wallet-pro/.*$" whitelist
<Files *.php>
<IfModule mod_authz_core.c>
Require env whitelist
Require all denied
</IfModule>
</Files>
## WP Defender - End ##
Hi @cointacted
I hope you’re well today!
ICO files “by design” are not “malicious by default” so they are not blocked but yes – they are taken into account. Defender’s Malware Scan should detect and pick them up if there is any malware code included in them so it should be reported to you if they are infected.
As for the PHP execution “exceptions”, this looks fine to me but I’ve asked our Defender team for confirmation and I (or one of my colleagues) will update you on it soon.
Best regards,
Adam
Hi @cointacted
I just wanted to confirm that your code (to exclude form PHP execution blocking) is correct and should work just fine.
Best regards,
Adam
Hello @cointacted ,
We haven’t heard from you for a while now, so it looks like you don’t need our assistance anymore.
Feel free to re-open this ticket if needed.
Kind regards
Kasia