In firewalls note this line: pattern: ^/
In access_control note: ^/admin So in access control any path with ^/ is a firewalled route. Therefore access is restricted. On Mon, Jun 6, 2011 at 4:57 PM, Javier Garcia <tirengar...@gmail.com> wrote: > Hi, > > in the section of security of the sf2's manual there is this > configuration: > > security: > firewalls: > secured_area: > pattern: ^/ > anonymous: ~ > http_basic: > realm: "Secured Demo Area" > > access_control: > - { path: ^/admin, roles: ROLE_ADMIN } > > providers: > in_memory: > users: > ryan: { password: ryanpass, roles: 'ROLE_USER' } > admin: { password: kitten, roles: 'ROLE_ADMIN' } > > encoders: > Symfony\Component\Security\Core\User\User: plaintext > > > And about that configuration is written this: > > "Any URL matching /admin/* is secured, and only the admin user can > access it;" > > but..where is that define exactly? > > Second question: can someone explain me about what is exactly > "anonymous" parameter? > > Regards > > Javi > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc identi.ca: @garethmcc -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en