views:

63

answers:

1

Hi,

I have just started learning Ruby on Rails.

I happened to look for prevention of DNS attacks in Rails and ended up reading about DNS, Session fixation and Cross Site request forgery in Rails?

How do you prevent all the above three attacks??

Could you suggest me a good tutorial on how to deal with attack in RoR?

Looking forward for your help

Thanks in advance

Regards,

Gautam

A: 

CSRF: Rails has built-in protection against these attacks that is turned on by default. See this article.

Session Fixation: This article has some decent info.

Denial of Service: Not sure there's anything Rails-specific to be done, but I have almost no experience dealing with these. I just let my outstanding host deal with them.

rspeicher