Re: [SMARTY-DEV] Smarty API: file secure checks
| From: | Roberto Berto | Date: | Wed, 22 May 2002 20:26:53 +0000 |
| Subject: | Re: [SMARTY-DEV] Smarty API: file secure checks | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-99@lists.php.net to get a copy of this message | ||
I know.
So, I should make a shared function to check the security?
On Wed, 22 May 2002 08:20:04 -0500
Monte Ohrt <monte@ispi.net> wrote:
> There is already one function used this way, it is kept in the plugin
> directory as shared.make_timestamp.php. This is used by more than one
> plugin.
>
> Roberto Berto wrote:
> > What do you think about a Smarty Method to check if a file is inside
> > the$security_dir array and add it to Smarty Methods?
> >
> > This is usefull to use with the plugins. There are a routine inside
> > plugins/function.fetch.php that can be reused to the new method.
> >
> > The method will return bool and It can be used inside many Smarty
> > private functions and plugins.
> >
> >
> >
> > Atenciosamente,
> >
> > ---------------------------------------------------------
> > Roberto Bertó, e-Consultor
> > Cel: 51 91169628
> > email: berto@under.com.br
> >
> > UNDER DEVELOPMENT - http://www.UNDER.com.br
> > Tel/FAX: 51 32270599 Rua Duque de Caxias, 1594 apto. 204
> > CEP 900010-281 - Porto Alegre - RS
> > ---------------------------------------------------------
> >
>
>
>
> --
> Monte Ohrt <monte@ispi.net>
> Director of Technology, ispi Inc.
>
>
> --
> Smarty Development Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Atenciosamente,
---------------------------------------------------------
Roberto Bertó, e-Consultor
Cel: 51 91169628
email: berto@under.com.br
UNDER DEVELOPMENT - http://www.UNDER.com.br
Tel/FAX: 51 32270599 Rua Duque de Caxias, 1594 apto. 204
CEP 900010-281 - Porto Alegre - RS
---------------------------------------------------------
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]