On what kind of page do you want to interact? A Tapestry page or a simple
HTML page (which I think should be better when are under a DDOS attack) ?You
have a lot of places where you can interact, depending on the previous
question :-)

On Wed, Oct 14, 2009 at 2:08 PM, Mats Henricson <m...@henricson.se> wrote:

> Hi!
>
> I'm working on a Tapestry 5.1 site that frequently gets hammered
> by DDOS attacks. We recently talked about it in our team, and one
> idea I'm currently investigating is to have a flag in our system
> that I can turn on dynamically that would require all users to be
> logged in.
>
> So, real users wouldn't see anything, but simple attacks by
> anonymous users would be sent to a "Sorry, we're requiring all
> users to be logged in, since we are under a DDOS attack" page.
>
> The way I was thinking of doing this would be to have a SetupRender
> function in the base class all pages inherits from, and in it do
> a check if the user is logged in.
>
> But I can only return true or false from that page, not redirect
> to another page, from my limited knowledge.
>
> So, what would you guys do? Is there a simpler solution? A filter?
>
> Mats
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to