Coder Social home page Coder Social logo

drupal-ng-firewall-patch's Introduction

Drupal Patch for nG Firewall

This repo contains a patch file for adding the Perishable Press nG Firewall and nG Addon to Drupal.

All credit for the nG Firewall rules goes to Perishable Press and whomever they list as contributors.

I don't vouch for the utility or functionality of the firewall rules on a Drupal site. I've used it for years on my site without any issues with the exception of an edit to allow access to files under the system directory. Thanks to the folks at Perishable Press, that change was added to newer versions of the firewall.

Usage

Since this is a patch file, use it to patch .htaccess.

There are several ways to do this. For sites using the standard Drupal composer setup with Drupal ^8.8.x, you can use the standard patching mechanism in composer.json.

Example

{
  ... everything else in composer.json ...
  "extra": {
    "patches": {
      "drupal/core": {
        "htaccess nG Firewall": "https://raw.githubusercontent.com/kentr/drupal-nG-firewall-patch/master/htaccess-nG-firewall.patch"
      }
    }
  }
}

See this post for more information.

Contributing

If you have suggestions for the firewall itself, go to Perishable Press.

If you have suggestions for the patch file or the instructions in this repo, create a PR here. However, please note that this repo is minimally-maintained.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.