Welcome Guest, Not a member yet? Register   Sign In
Do I have to add authentication validation to the view files, too?
#1

[eluser]bastones[/eluser]
Hi,

This may sound like a stupid question for experienced folks. In my controllers I have authentication checks so users going to, say, 'members/index' for the members area are redirected to 'members/login' if they're not logged in. However, do I have to add the same sort of authentication checks to the view file that is used for 'members/index' as well? Or can view files not be accessed any other way so I don't need to?

Thanks,
Ben.


Messages In This Thread
Do I have to add authentication validation to the view files, too? - by El Forum - 06-28-2011, 07:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB