2017 © Pedro Peláez
 

library clickjacking-middleware

Provides clickjacking protection via the X-Frame-Options header.

image

mikica/clickjacking-middleware

Provides clickjacking protection via the X-Frame-Options header.

  • Saturday, February 13, 2016
  • by mikicaivosevic
  • Repository
  • 1 Watchers
  • 7 Stars
  • 256 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Clickjacking Protection Middleware

PSR-7 Middleware that provides clickjacking protection via the X-Frame-Options header., (*1)

Middleware that sets the X-Frame-Options HTTP header in HTTP responses. Does not set the header if it's already set. By default, sets the X-Frame-Options header to 'SAMEORIGIN', meaning the response can only be loaded on a frame within the same site., (*2)

Note: older browsers will quietly ignore this header, thus other clickjacking protection techniques should be used if protection in those browsers is required., (*3)

Installation

composer require mikica/clickjacking-middleware, (*4)

Usage

In Slim 3:, (*5)

//new Clickjacking\Middleware\XFrameOptions("DENY")
$app->add(new Clickjacking\Middleware\XFrameOptions());

$app->get('/', function ($request, $response, $args) {
    return $response;
});

The Versions

13/02 2016

dev-master

9999999-dev

Provides clickjacking protection via the X-Frame-Options header.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Mikica Ivosevic

middleware x-frame-options clickjacking

06/11 2015

v1.04

1.04.0.0

Provides clickjacking protection via the X-Frame-Options header.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Mikica Ivosevic

middleware x-frame-options clickjacking

06/11 2015

1.05

1.05.0.0

Provides clickjacking protection via the X-Frame-Options header.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Mikica Ivosevic

middleware x-frame-options clickjacking

01/11 2015

1.03

1.03.0.0

Provides clickjacking protection via the X-Frame-Options header.

  Sources   Download

BSD-3-Clause

The Requires

 

by Mikica Ivosevic

middleware x-frame-options clickjacking

01/11 2015

1.01

1.01.0.0

Provides clickjacking protection via the X-Frame-Options header.

  Sources   Download

BSD-3-Clause

The Requires

 

by Mikica Ivosevic

middleware x-frame-options clickjacking

01/11 2015

1.0

1.0.0.0

Provides clickjacking protection via the X-Frame-Options header.

  Sources   Download

BSD-3-Clause

The Requires

 

by Mikica Ivosevic

middleware x-frame-options clickjacking