it is usually not the controller you need to worry about in the view level just dont output the variable and on input (forms etc) use whitelisting for the model methods to exclude the field on save etc.
Am Montag, 30. Juli 2012 16:34:59 UTC+2 schrieb Mahmoud Adel Farid: > > i want any controller not to be able to access(read or write) a certain > field in the model > how can i accomplish that > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php