[symfony-devs] Re: Symfony security enhancement?

2008-01-23 Thread Ian P. Christian
Michel Weimerskirch wrote: > Hi > > I put the following by default in the htaccess files of my symfony > applications to limit access to _dev-files to my machine only: > > I don't think this should be configurable in a yaml file because yaml > it is too error-prone for security-related options: O

[symfony-devs] Re: Symfony security enhancement?

2008-01-23 Thread Michel Weimerskirch
Hi I put the following by default in the htaccess files of my symfony applications to limit access to _dev-files to my machine only: Order Deny,Allow Deny from all Allow from 127.0.0.1 In the "Allow from" line you can also put multiple IPs or masks. I don't think this should be configu

[symfony-devs] Re: Symfony security enhancement?

2008-01-23 Thread Ian P. Christian
Fabian Lange wrote: > Hi, > as I am still running across symfony pages that have their dev env in > production I want to bring this up to dev-list notice. Any thoughts of > integrating a combination of Ant's and my idea? > I really think that enabling _dev on production should be a conscious step.

[symfony-devs] Symfony security enhancement?

2008-01-23 Thread Fabian Lange
Hi, as I am still running across symfony pages that have their dev env in production I want to bring this up to dev-list notice. Any thoughts of integrating a combination of Ant's and my idea? I really think that enabling _dev on production should be a conscious step. .: Fabian -Original Mess

[symfony-devs] Re: how to override sfGuardUser?

2008-01-23 Thread lking
thanks. both solutions works. i prefer to override sfGuardUserPeer::getOMClass() because i will not copy new version of sfGuardUser.php after each upgrade of plugin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sym

[symfony-devs] Re: how to override sfGuardUser?

2008-01-23 Thread Nicolas Perriault
On Jan 23, 2008 3:36 PM, lking <[EMAIL PROTECTED]> wrote: > i tried to copy > plugins/sfGuardPlugin/lib/model/sfGuardUser.php > to > lib/model/sfGuardUser.php > add my function foo to this file, but i always get error Try to copy the bundled PluginsfGuardUser.php file into your project lib/model

[symfony-devs] Re: how to override sfGuardUser?

2008-01-23 Thread Sylvain - Com-Océan
Yes, I had this problem some day before and take a long time to solve it, here is the answer to that problem : http://trac.symfony-project.com/wiki/HowToExtendPropelPluginModel You just have to put in your lib/model/sfGuardUserPeer.php (create it, if you don't create it) : > public static fun

[symfony-devs] how to override sfGuardUser?

2008-01-23 Thread lking
i tried to copy plugins/sfGuardPlugin/lib/model/sfGuardUser.php to lib/model/sfGuardUser.php add my function foo to this file, but i always get error Call to undefined method BasesfGuardUser::foo i posted this question to the forum few days ago, but didn't get any answers or suggestions (http://

[symfony-devs] 1.1 Forms + Propel I18n

2008-01-23 Thread Dustin Whittle
When generating forms with propel:build-forms how does symfony handle i18n forms? It seems to create to forms one for the original column and one for the i18n column. In keeping with the orm, should the propel form represent one object (with i18n properties)? Or am I missing something? In 1.0 we u