Welcome Guest, Not a member yet? Register   Sign In
Code Iginter Core subclassing
#9

[eluser]Colin Williams[/eluser]
Quote:so far, this is the classic problem on user authentication

It's not a classic problem, it's your app's problem. There are many ways you can make something happen all the time. One way is to use a hook. Another way is to autoload a library and do the authentication/authorization check in its constructor. Yet another way is to have an extra parent controller that the rest of your controllers extend.

And remember, there will be a few pages that you don't want locked out, notably the login page and perhaps a "forgot password" page.

If you really just need to lock down an entire app and don't need role- or group-based permissions, look into using your servers authentication/authorization modules


Messages In This Thread
Code Iginter Core subclassing - by El Forum - 10-20-2008, 06:12 PM
Code Iginter Core subclassing - by El Forum - 10-20-2008, 08:07 PM
Code Iginter Core subclassing - by El Forum - 10-21-2008, 01:38 PM
Code Iginter Core subclassing - by El Forum - 10-21-2008, 01:45 PM
Code Iginter Core subclassing - by El Forum - 10-23-2008, 03:25 AM
Code Iginter Core subclassing - by El Forum - 10-23-2008, 01:56 PM
Code Iginter Core subclassing - by El Forum - 10-23-2008, 08:04 PM
Code Iginter Core subclassing - by El Forum - 10-24-2008, 02:01 PM
Code Iginter Core subclassing - by El Forum - 10-24-2008, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB