try to research existing themes I have seen a lot of ways to protect, but all the ways are for noobs only. It's very simple to crash the protection by commenting footer at all. So don't waste your time - there's no way to protect footer inside of the theme. The only possible way - change the WP code itself.