Re: How do I keep people from downloading my templates?
"D. Johnson" <dan-BesXlV5O7kIk+I/[email protected]> Tue, 03 Jun 2003 14:23:04 -0700
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | Xaraya News Server |
| Message-ID | <[email protected]> |
Or do a rewrite rule that sends all .xd/.xt extensions to a page that says: "Beat it pal!" Paul Crovella wrote: > 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 > >