Re: File Extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 10, 2010 at 2:39 AM, dojo karta <dojokarta@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux