Plack::Middleware::XFrameOptions::All - Plack middleware to set X-Frame-Options.
version 0.2
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.
use Plack::Builder; builder { enable 'XFrameOptions::All', policy => 'sameorigin'; // or 'deny' }
Gea-Suan Lin, <gslin at gslin.org>
<gslin at gslin.org>
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.
To install Plack::Middleware::XFrameOptions::All, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::XFrameOptions::All
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::XFrameOptions::All
For more information on module installation, please visit the detailed CPAN module installation guide.