tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <>
Subject Re: javascript access protection.
Date Sat, 03 Nov 2001 17:30:44 GMT
Thierry RAIBAUT at wrote:

> Hello,
> could somebody explain me how is it possible to protect some ressources from
> direct access.
> I think about a javascript directory.
> This directory has to be accessed by some JSP pages, but I do not want the
> user to access this directory
> directly with the browser by setting the javascript file url.
> I move my javascript directory under web-inf but by doing this, js files are
> no longer available even for jsp pages.
> thanks a lot for your help.

Javascripts are interpreted BY THE CLIENT, not by the server, so no matter
what, the client NEEDS to se that .js file, and needs to be able to download


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message