You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jim Anderson <ja...@jandernet.com> on 2003/12/29 19:22:51 UTC
Is there a way to prevent urls from being entered from the browser?
To clarify: I would like to be able to define ActionForwards for use
within the app but which cannot be entered directly into the browser by
the user. Is this possible?
Thanks.
jim
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Is there a way to prevent urls from being entered from the browser?
Posted by Brice Ruth <br...@fiskars.com>.
In theory, you could write a filter for the forwards that would check to
see if a REFERER is set for the request. If not, the request was likely
entered directly in a browser.
Jim Anderson wrote:
> To clarify: I would like to be able to define ActionForwards for use
> within the app but which cannot be entered directly into the browser
> by the user. Is this possible?
>
> Thanks.
>
> jim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org