There is also a new setting to restrict the webadmin access:
yunohost settings set security.webadmin.allowlist -v <comma-separated list of IP addesses>
yunohost settings set security.webadmin.allowlist.enabled -v True
Thanks a lot for describing and sharing your hooks!
I didn’t know about hooks before and had already modified some system configuration files (and documented the modifications to be able to redo them after system updates).
Using hooks instead makes these custom configurations much easier.