<a href="http:&#x2F;&#x2F;guides.rubyonrails.org&#x2F;security.html" rel="nofollow">http:&#x2F;&#x2F;guides.rubyonrails.org&#x2F;security.html</a> is a good introduction for webapps written in Ruby&#x2F;Rails and their countermeasures.<p>It&#x27;s better to ask the same question on a &lt;insert your programming language&gt; forum or StackOverflow as most frameworks have countermeasures or configuration options included (salting password, inspecting HTTP headers, preventing SQL injection).