2017 © Pedro Peláez
 

library proportional-proof-of-work-laravel

Middleware and library to thwart DOS and scraping by using proof-of-work and headers

image

jessica-mulein/proportional-proof-of-work-laravel

Middleware and library to thwart DOS and scraping by using proof-of-work and headers

  • Wednesday, December 6, 2017
  • by jessica-mulein
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

proportional-proof-of-work-laravel

PHP Laravel Composer library for proof of work computation and associated middleware to throttle requests (WIP), (*1)

The concept really is a library that can perform as a combination of CSRF and Throttle. A page or endpoint protected by the PPOW middleware requires the client to perform some work- the intensity requirement would be determined by the number of accesses recently and the baseline value of the resource. The client computes a hash collision, which takes time, and essentially self-throttles as the work requirement increases, making scraping and automation impractical. A normally behaving client would never notice the minimal amount of work required., (*2)

The author is presently investigating two approaches- one which works as part of form submission and another which can protect GET assets with a knowledeable client (site-specific JavaScript code)., (*3)

Laravel (WIP): https://github.com/jessica-mulein/proportional-proof-of-work-laravel / https://packagist.org/packages/jessica-mulein/proportional-proof-of-work-laravel, (*4)

Laravel Integration Demo (WIP): https://github.com/jessica-mulein/proportional-proof-of-work-laravel-demo, (*5)

Fontend (WIP): https://github.com/jessica-mulein/proportional-proof-of-work-js, (*6)

The Versions

06/12 2017

dev-master

9999999-dev

Middleware and library to thwart DOS and scraping by using proof-of-work and headers

  Sources   Download

The Development Requires

by Jessica Mulein