[TYPO3-english] tcemain and fe extensions

Rik Willems rik at actiview.nl
Mon Feb 22 16:37:59 CET 2010


Hi Dmitry,

Thank you for the clear instructions.
Is there a security issue involved in using tcemain in fe?
I wonder because it seems to function quite nice and takes away a lot 
stuff regaring inserting records.

I found that hooks do work properly because they are called when 
executing tcemain.

Cheers, Rik

Dmitry Dulepov schreef:
> Hi!
> 
> On 2010-02-22 16:48:02 +0200, Rik Willems said:
>> For a client I have created a nice cli import script. During my 
>> research for this I found out about tcemain and the functions it 
>> provides. For the cli I now use tcemain to import records.
>>
>> None of the fe extensions I have looked into in the past used tcemain 
>> to add or change records. Now I saw that tcemain needs a BE user, but 
>> this can be overcome. Are there good reasons to not use tcemain and 
>> use manual insert queries in fe?
> 
> Yes. Many hooks will not work correctly.
> 
> TCEmain is BE–only. It must not be used in FE. Of course, programmers 
> can do anything but if you are a responsible programmer, you will follow 
> the requirements...
> 


More information about the TYPO3-english mailing list