How do I keep people from downloading my templates?

"Paul Crovella" <paul-X357vOeSiW/Y2nr59tdtLgC/[email protected]> Tue, 3 Jun 2003 10:21:07 -0700
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization Xaraya News Server
Message-ID <[email protected]>
For those in the know it doesn't take much to figure out where your .xt
files are located. The web server will send these out in plain text if you
point the url at them.
I don't know how to do this with IIS or any other web server, but if you're
using apache just drop the following into your .htaccess file:

<Files ~ "\.(xd|xt)$">
  order deny,allow
  deny from all
</Files>

This should keep apache from serving these out directly.

________________________________________________________
It's a damn poor mind that can only think of one way to spell a word.
 - Andrew Jackson