Folder For Filters Or Rules

Hi Community,

I´m newbie in YII, so my question is very simple: in which folder I will save my php file containing a filter or a rule?

Thanks in advance

filter / authorization goes to /protected/controllers folder, eg. SiteController.php

data rule goes to /protected/models, eg. LoginForm.php

check out yii demo blog …

Thanks Rootbear

Thanks Community