2004-10-07 18:50:52 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
|
<!-- $Revision$ -->
|
|
|
|
|
<sect1 id="variable.security">
|
|
|
|
|
<title>$security</title>
|
|
|
|
|
<para>
|
|
|
|
|
$security true/false, el default es false. Security es bueno
|
|
|
|
|
para situaciones cuando usted tiene partes inconfiables editando
|
|
|
|
|
el template (via ftp por ejemplo) y usetd quiere reducir los
|
|
|
|
|
riesgos de comportamiento de seguridad del sistema a trav<61>s del
|
|
|
|
|
lenguaje del template. Al habilitar la seguridad forza las siguientes
|
|
|
|
|
reglas del lenguaje del template, a menos que especifique control con
|
2005-11-08 23:37:29 +00:00
|
|
|
|
<link linkend="variable.security.settings">$security_settings</link>:
|
2004-10-07 18:50:52 +00:00
|
|
|
|
</para>
|
|
|
|
|
<itemizedlist>
|
2005-11-08 23:37:29 +00:00
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
|
|
|
|
Si <link linkend="variable.php.handling">$php_handling</link> est<73>
|
|
|
|
|
asignado a SMARTY_PHP_ALLOW, este es implicitamente cambiado a
|
|
|
|
|
SMARTY_PHP_PASSTHRU
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
|
|
|
|
Las funciones PHP no son permitidas en sentencias
|
|
|
|
|
<link linkend="language.function.if">{if}</link>,
|
|
|
|
|
excepto quellas que esten especificadas en
|
|
|
|
|
<link linkend="variable.security.settings">$security_settings</link>
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
|
|
|
|
Los templates solo pueden ser incluidos en el
|
|
|
|
|
directorio listado en arreglo
|
|
|
|
|
<link linkend="variable.secure.dir">$secure_dir</link>
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
|
|
|
|
Los archivos locales solamente pueden ser traidos del
|
|
|
|
|
directorio listado en
|
|
|
|
|
<link linkend="variable.secure.dir">$secure_dir</link> usando
|
|
|
|
|
el arreglo <link linkend="language.function.fetch">{fetch}</link>
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
|
|
|
|
Estas etiquetas
|
|
|
|
|
<link linkend="language.function.php">{php}{/php}</link> no son permitidas
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
|
|
|
|
Las funciones PHP no son permitidas como modificadores,
|
|
|
|
|
excepto si estan especificados en el
|
|
|
|
|
<link linkend="variable.security.settings">$security_settings</link>
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
2004-10-07 18:50:52 +00:00
|
|
|
|
</itemizedlist>
|
|
|
|
|
</sect1>
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
|
Local variables:
|
|
|
|
|
mode: sgml
|
|
|
|
|
sgml-omittag:t
|
|
|
|
|
sgml-shorttag:t
|
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
|
sgml-indent-step:1
|
|
|
|
|
sgml-indent-data:t
|
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
|
sgml-parent-document:nil
|
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
|
End:
|
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
|
-->
|