Gea-Suan Lin > Plack-Middleware-XFrameOptions-All > Plack::Middleware::XFrameOptions::All

Download:
Plack-Middleware-XFrameOptions-All-0.2.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.2   Source  

NAME ^

Plack::Middleware::XFrameOptions::All - Plack middleware to set X-Frame-Options.

VERSION ^

version 0.2

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.

syntax highlighting: