GRAYBYTE WORDPRESS FILE MANAGER1779

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/hc_python/lib/python3.12/site-packages/lxml/includes/libxslt/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/hc_python/lib/python3.12/site-packages/lxml/includes/libxslt//security.h
/*
 * Summary: interface for the libxslt security framework
 * Description: the libxslt security framework allow to restrict
 *              the access to new resources (file or URL) from
 *              the stylesheet at runtime.
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Daniel Veillard
 */

#ifndef __XML_XSLT_SECURITY_H__
#define __XML_XSLT_SECURITY_H__

#include <libxml/tree.h>
#include "xsltexports.h"
#include "xsltInternals.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * xsltSecurityPref:
 *
 * structure to indicate the preferences for security in the XSLT
 * transformation.
 */
typedef struct _xsltSecurityPrefs xsltSecurityPrefs;
typedef xsltSecurityPrefs *xsltSecurityPrefsPtr;

/**
 * xsltSecurityOption:
 *
 * the set of option that can be configured
 */
typedef enum {
    XSLT_SECPREF_READ_FILE = 1,
    XSLT_SECPREF_WRITE_FILE,
    XSLT_SECPREF_CREATE_DIRECTORY,
    XSLT_SECPREF_READ_NETWORK,
    XSLT_SECPREF_WRITE_NETWORK
} xsltSecurityOption;

/**
 * xsltSecurityCheck:
 *
 * User provided function to check the value of a string like a file
 * path or an URL ...
 */
typedef int (*xsltSecurityCheck)	(xsltSecurityPrefsPtr sec,
					 xsltTransformContextPtr ctxt,
					 const char *value);

/*
 * Module interfaces
 */
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL
		    xsltNewSecurityPrefs	(void);
XSLTPUBFUN void XSLTCALL
		    xsltFreeSecurityPrefs	(xsltSecurityPrefsPtr sec);
XSLTPUBFUN int XSLTCALL
		    xsltSetSecurityPrefs	(xsltSecurityPrefsPtr sec,
						 xsltSecurityOption option,
						 xsltSecurityCheck func);
XSLTPUBFUN xsltSecurityCheck XSLTCALL
		    xsltGetSecurityPrefs	(xsltSecurityPrefsPtr sec,
						 xsltSecurityOption option);

XSLTPUBFUN void XSLTCALL
		    xsltSetDefaultSecurityPrefs	(xsltSecurityPrefsPtr sec);
XSLTPUBFUN xsltSecurityPrefsPtr XSLTCALL
		    xsltGetDefaultSecurityPrefs	(void);

XSLTPUBFUN int XSLTCALL
		    xsltSetCtxtSecurityPrefs	(xsltSecurityPrefsPtr sec,
						 xsltTransformContextPtr ctxt);

XSLTPUBFUN int XSLTCALL
		    xsltSecurityAllow		(xsltSecurityPrefsPtr sec,
						 xsltTransformContextPtr ctxt,
						 const char *value);
XSLTPUBFUN int XSLTCALL
		    xsltSecurityForbid		(xsltSecurityPrefsPtr sec,
						 xsltTransformContextPtr ctxt,
						 const char *value);
/*
 * internal interfaces
 */
XSLTPUBFUN int XSLTCALL
		    xsltCheckWrite		(xsltSecurityPrefsPtr sec,
						 xsltTransformContextPtr ctxt,
						 const xmlChar *URL);
XSLTPUBFUN int XSLTCALL
		    xsltCheckRead		(xsltSecurityPrefsPtr sec,
						 xsltTransformContextPtr ctxt,
						 const xmlChar *URL);

#ifdef __cplusplus
}
#endif

#endif /* __XML_XSLT_SECURITY_H__ */


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
April 04 2025 08:00:21
root / root
0755
__pycache__
--
April 04 2025 08:00:21
root / root
0755
__init__.py
0 KB
April 04 2025 08:00:21
root / root
0644
attributes.h
0.935 KB
April 04 2025 08:00:21
root / root
0644
documents.h
2.641 KB
April 04 2025 08:00:21
root / root
0644
extensions.h
6.737 KB
April 04 2025 08:00:21
root / root
0644
extra.h
1.602 KB
April 04 2025 08:00:21
root / root
0644
functions.h
1.926 KB
April 04 2025 08:00:21
root / root
0644
imports.h
1.797 KB
April 04 2025 08:00:21
root / root
0644
keys.h
1.128 KB
April 04 2025 08:00:21
root / root
0644
namespaces.h
1.627 KB
April 04 2025 08:00:21
root / root
0644
numbersInternals.h
1.972 KB
April 04 2025 08:00:21
root / root
0644
pattern.h
2.061 KB
April 04 2025 08:00:21
root / root
0644
preproc.h
0.875 KB
April 04 2025 08:00:21
root / root
0644
security.h
2.59 KB
April 04 2025 08:00:21
root / root
0644
templates.h
2.215 KB
April 04 2025 08:00:21
root / root
0644
transform.h
6.163 KB
April 04 2025 08:00:21
root / root
0644
variables.h
3.069 KB
April 04 2025 08:00:21
root / root
0644
xslt.h
1.918 KB
April 04 2025 08:00:21
root / root
0644
xsltInternals.h
56.591 KB
April 04 2025 08:00:21
root / root
0644
xsltconfig.h
2.887 KB
April 04 2025 08:00:21
root / root
0644
xsltexports.h
1.098 KB
April 04 2025 08:00:21
root / root
0644
xsltlocale.h
0.92 KB
April 04 2025 08:00:21
root / root
0644
xsltutils.h
8.872 KB
April 04 2025 08:00:21
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF