Postmodern

Rack middleware submitted by Postmodern

Sort by: Latest | Highest rated

EnforceSSL

Added by Postmodern at October 12, 2009 02:34 Star_smallStar_smallStar_smallStar_small_halfStar_small_gray

EnforceSSL is a Rack middleware app that enforces that users visit specific paths via HTTPS. If a sensitive path is requested over plain-text HTTP, a 307 Redirect will be issued leading to the HTTPS version of the Requested URI.

BanHammer

Added by Postmodern at October 12, 2009 01:31 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

BanHammer is a Rack middleware app that restricts access to your server using a black-list of IPv4/IPv6 addresses and ranges.

RefererControl

Added by Postmodern at October 12, 2009 00:55 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

RefererControl is a Rack middleware app which restricts access to paths based on the Referer header. Using RefererControl you can make sure users follow the intended flow of a website. If a controlled path is visited with an unacceptable Referer URI, then a simple 307 Redirect response is returned.

RefererControl should also make Cross Site Request Forgery (CSRF) a little more difficult to exploit; but not impossible using JavaScript.

LieServer

Added by Postmodern at October 12, 2009 00:09 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray

The LieServer is a simple Rack middleware app which allows one to spoof the Server header in responses for every request, requests to certain sub-directories or paths which match a regular expression.