NAME
Plack::Middleware::XFrameOptions::All - Plack middleware to set X-Frame-Options.
VERSION
version 0.1.1
DESCRIPTION
This module will setup X-Frame-Options header to protect clickjacking issue. This header has been supported by IE8+, Fx 3.6.9+, Google Chrome.
SYNOPSIS
use Plack::Builder;
builder {
enable 'XFrameOptions::All', policy => 'sameorigin'; // or 'deny'
}
AUTHOR
Gea-Suan Lin, <gslin at gslin.org>
LICENSE AND COPYRIGHT
Copyright 2011 Gea-Suan Lin.
This software is released under 3-clause BSD license. See http://www.opensource.org/licenses/bsd-license.php for more information.