Prevent LibreOffice saving recent files & block macros

Hello!

How to prevent LibreOffice from remembering recent files and block macros?

I wanna not save any history of recent files (privacy reasons) and forbid any macros from being ever seen or executed (security reasons)

Maybe somehow put history in /dev/null? Or there is better solution?

I run LibreOffice on Linux mint 22.1

This thread shows how to reset Pick list o 0

Start to set macro secrurity to highest level.
.
On some linux installs you can also deinstall script-providers. (I remember the need to install it, as the distribution had omitted this.)
.