httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joeri De Backer <fons...@gmail.com>
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 <dojokarta@gmail.com> 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.

Regards,

J.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message