https://github.com/madhacking/mod_authnz_subrequest
Apache 2 module to block/hide resources from normal requests allowing access only from sub-requests
https://github.com/madhacking/mod_authnz_subrequest
Last synced: 3 months ago
JSON representation
Apache 2 module to block/hide resources from normal requests allowing access only from sub-requests
- Host: GitHub
- URL: https://github.com/madhacking/mod_authnz_subrequest
- Owner: MADhacking
- License: gpl-3.0
- Created: 2015-01-28T23:06:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-29T00:32:53.000Z (over 10 years ago)
- Last Synced: 2025-01-24T21:32:36.517Z (5 months ago)
- Language: C
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
mod_authnz_subrequest - Apache 2 authentication and authorisation module to block
access to resources from normal requests allowing access
only to sub-requests from the specified module(s).Homepage:
http://www.mad-hacking.net/Building:
Run:
$ ./configure
$ make
$ make installConfiguration:
Edit httpd.conf and add:
LoadModule authnz_subrequest_module modules/mod_authnz_subrequest.soSimple usage:
AuthType SubRequest
SubRequestRejectMethod 404
Require sub-request mod_transform mod_include
Would block access to all xsl files (using 404 as the error code - effectively hiding
them) from anything but sub-requests generated by mod_transform or mod_include. The
default reject method is 401.Currently supported sub-requests include:
ANY (this will allow any sub-request)
mod_include
mod_transformAdditional sub-request types may be declared:
SubRequestDeclareType mod_donkey donkey_derby
Where "mod_donkey" is the name of the module and "donkey_derby" is the internal module
name (which you will probably have to find from the desired module's source).