$87 GRAYBYTE WORDPRESS FILE MANAGER $55

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/include/libxslt/

HOME
Current File : /usr/include/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__ */


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
17 Mar 2026 5.07 PM
root / root
0755
attributes.h
0.908 KB
10 May 2015 9.11 PM
root / root
0644
documents.h
2.641 KB
10 May 2015 9.11 PM
root / root
0644
extensions.h
6.741 KB
4 Sep 2012 9.26 PM
root / root
0644
extra.h
1.603 KB
29 Aug 2017 6.20 PM
root / root
0644
functions.h
1.959 KB
10 May 2015 9.11 PM
root / root
0644
imports.h
1.797 KB
10 May 2015 9.11 PM
root / root
0644
keys.h
1.128 KB
10 May 2015 9.11 PM
root / root
0644
namespaces.h
1.627 KB
10 May 2015 9.11 PM
root / root
0644
numbersInternals.h
1.972 KB
10 May 2015 9.11 PM
root / root
0644
pattern.h
1.951 KB
4 Sep 2012 9.26 PM
root / root
0644
preproc.h
0.871 KB
10 May 2015 9.11 PM
root / root
0644
security.h
2.59 KB
10 May 2015 9.11 PM
root / root
0644
templates.h
2.215 KB
10 May 2015 9.11 PM
root / root
0644
transform.h
6.18 KB
27 Feb 2015 1.00 PM
root / root
0644
variables.h
3.069 KB
26 Aug 2025 3.55 PM
root / root
0644
xslt.h
1.918 KB
10 May 2015 9.11 PM
root / root
0644
xsltInternals.h
56.141 KB
26 Aug 2025 3.55 PM
root / root
0644
xsltconfig.h
3.503 KB
26 Aug 2025 3.55 PM
root / root
0644
xsltexports.h
3.346 KB
12 May 2009 1.29 PM
root / root
0644
xsltlocale.h
1.513 KB
26 Oct 2017 2.55 PM
root / root
0644
xsltutils.h
8.489 KB
26 Aug 2025 3.55 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF