Thierry RAIBAUT at [EMAIL PROTECTED] 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
it.
Pier
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>