How to secure Magento?

Especially for Magento 1 after its end of life but also for Magento 2 it is important that you secure the Magento instance as best as possible.
In the following I will list some tips of that I use for my clients to secure their Magento backends.