mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Added new directive (SecPdfProtectMethod) to enable the user to choose between
using token redirection (falling back on forced download in some cases) and forced download (in all cases).
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
#ifndef _PDF_PROTECT_H_
|
||||
#define _PDF_PROTECT_H_
|
||||
|
||||
#define PDF_PROTECT_METHOD_TOKEN_REDIRECTION 1
|
||||
#define PDF_PROTECT_METHOD_FORCED_DOWNLOAD 2
|
||||
|
||||
apr_status_t DSOLOCAL pdfp_output_filter(ap_filter_t *f, apr_bucket_brigade *bb_in);
|
||||
|
||||
int DSOLOCAL pdfp_check(modsec_rec *msr);
|
||||
|
Reference in New Issue
Block a user