Blocking Access to *.xhtml in Glassfish

View: New views
2 Messages — Rating Filter:   Alert me  

Blocking Access to *.xhtml in Glassfish

by xdallen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, all!
This is the first time I post in this forum.
I used .xhtml as the Facelets default suffix and I deployed the app into Glassfish.

However, in the browser, when I entered the URL path to request the .xhtml file, Glassfish will let me download the file as attachment.

I woud like to know if there are any ways to block the access to *.xhtml files?

Thanks a lot!

Re: Blocking Access to *.xhtml in Glassfish

by Adrian Mitev-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, May 9, 2009 at 8:13 PM, xdallen <xdallen@...> wrote:

>
> Hi, all!
> This is the first time I post in this forum.
> I used .xhtml as the Facelets default suffix and I deployed the app into
> Glassfish.
>
> However, in the browser, when I entered the URL path to request the .xhtml
> file, Glassfish will let me download the file as attachment.
>
> I woud like to know if there are any ways to block the access to *.xhtml
> files?
>
> Thanks a lot!
> --
> View this message in context: http://www.nabble.com/Blocking-Access-to-*.xhtml-in-Glassfish-tp23462608p23462608.html
> Sent from the java.net - facelets users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

https://facelets.dev.java.net/nonav/docs/dev/docbook.html#config-webapp-security

And please RTFM

--
Although nobody can come back and make a new start, anyone can start
now and make a new end

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...