Re: Re: How do I keep people from downloading my templates?

"Carl P. Corliss" <[email protected]> Tue, 3 Jun 2003 15:29:39 -0600
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Message-ID <[email protected]>
Another option would be to have the server give them a 404 response on the 
files to confuse the person ;)

On Tuesday 03 June 2003 03:23 pm, D. Johnson wrote:
> 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
>
> _______________________________________________
> Xaraya_knowledge-base mailing list
> [email protected]
> http://lists.xaraya.com/mailman/listinfo/xaraya_knowledge-base

-- 
Carl P. Corliss
System Administrator / Developer
Xaraya Web Application Framework Project
www.xaraya.com