How to set LibreOffice macro security to “Very High” by default

Hello,

I want to set LibreOffice macro security to “Very High” by default , so it cannot be lowered when the application starts.

I am using Linux (Ubuntu/Debian), LibreOffice version 4:7.4.7-1+deb12u8 amd64 , I am looking for a reliable method to enforce this system-wide, either through configuration or a script.

Thank you.

https://wiki.documentfoundation.org/Deployment_and_Migration#Some_tricks_for_post_deployment_configuration