Forums
Forums / Plugin: Custom Block Builder - Lazy Blocks / How secure is this plugin
(@kaia-konsap)
1 year, 5 months ago
I have troubles creating the blocks myself, I just don’t have the time and skills but I am wondering how secure is adding php though admin? I am worried and this is stopping me.
(@fellan91)
Hello,
When creating a block with PHP code, be mindful of security risks. Consider using safer alternatives like templates or callbacks instead. You can learn about template usage at https://www.lazyblocks.com/docs/blocks-code/theme-template/ and callback implementation at https://www.lazyblocks.com/docs/blocks-code/php-callback/
Also the handlebar mechanism provides better security than PHP but offers less flexibility and versatility: https://www.lazyblocks.com/docs/blocks-code/handlebars/
Regards,Alex
The topic ‘How secure is this plugin’ is closed to new replies.