[TYPO3-english] How to write something to file with BE module

Dawid Pacholczyk dpacholczyk at gmail.com
Mon Aug 2 12:46:15 CEST 2010


I know. I`m not 100% sure will I use this. But I need to know how can I
write a file from my extension. I can secure it like every other .php file
so it`s not that big issue. But first I need to know how can I write a file
from my ext than I can start to worrie about the security issues.

Best regards,
Dawid Pacholczyk

2010/8/2 Dmitry Dulepov <dmitry at typo3.org>

> Hi!
>
> Dawid Pacholczyk wrote:
> > The file is placed in
> > the same folder like index.php of the ext.
> >
> > typo3conf/ext/my_ext/mod1/index.php
> > typo3conf/ext/my_ext/mode1/config.inc
>
> Notice: it will be readable by anyone in the browser. It is a possible
> security issue.
>
> --
> Dmitry Dulepov
> TYPO3 core&security team member
> Twitter: http://twitter.com/dmitryd
> Read more @ http://dmitry-dulepov.com/
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



-- 
Dawid Pacholczyk
tel: 502-054-334
gg: 5564051
skype: dpacholczyk
http://typo3blog.pl (only polish version at the moment)


More information about the TYPO3-english mailing list