PHP Classes

Classes of Tom Postma

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Tom Postma (1)  >  Mission progress status  >  Reputation  
Picture of Tom Postma
Name: Tom Postma <contact>
Classes: 1
Country: The Netherlands The Netherlands
Age: ???
All time rank: 283474 in The Netherlands The Netherlands
Week rank: 147 Up2 in The Netherlands The Netherlands Up
All time users: 701
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Content Security...  
PHP Programming Innovation award nominee
November 2014
Number 5


Prize: One book of choice by Packt
Generate CSP headers to prevent security attacks
This class can generate CSP headers to prevent security attacks.

It can check the type of browser accessing the site and generate HTTP response headers according to configuration parameters that can help preventing security attacks like cross-site scripting.

Currently it can set the URL to report CSP violations, the XSS reflected policy directive, the allowed source URLs for images, CSS styles, JavaScript code, plugins, media, font, frame and object tags.

Depending on the browser it can generate the headers Content-Security-Policy, Content-Security-Policy-Report-Only, X-Content-Security-Policy-Report-Only, X-Content-Security-Policy, X-WebKit-CSP-Report-Only, X-WebKit-CSP, X-Frame-Options, and X-XSS-Protection.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z