httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joeri De Backer <>
Subject Re: [users@httpd] File Extensions
Date Wed, 10 Nov 2010 07:53:32 GMT
On Wed, Nov 10, 2010 at 2:39 AM, dojo karta <> wrote:
> Hey Greetings,
> I wanted to know if HTTPD can help me to restrict serving files with
> particular Extensions.
> I mean I have a Web application primarily written in JS. I do not want to
> throw away the code open to everyone. So is there a way I can configure
> HTTPD to say no if somebody tries to access the js may be through browser.
> V Rajkumar
> Novell

You can surely do that, but then your browser will not be able to
download the JavaScript,
and your browser will not be able to execute the JS.

JS is a client-side language, you will not be able to hide it for the user.
You can however obfuscate the code. Search google for that.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message