To stop people from stealing your unique template design, simply add a .htaccess file like one below in your /templates folder
#securing your templates folder
Order deny,allow
Deny from all
# File types for which we make an exception.
<Files ~ "\.(gif|jpg|jpeg|png|css|js|php)$">
Order allow,deny
Allow from all
</Files>
ErrorDocument 403 "Sorry can't allow you access today
ErrorDocument 404 http://www.yoursite.com/404.php