Welcome Guest, Not a member yet? Register   Sign In
htpasswd and controllers
#2

[eluser]Ben Edmunds[/eluser]
[edit]didn't know about htpasswd, seems like an odd way to do it though[/edit]

For password protecting you would want to use an auth system and then check that the logged in user has the proper access in the constructor of the controller. Then if they do not have access redirect them to the login screen or back home.

What are you trying to accomplish?


Messages In This Thread
htpasswd and controllers - by El Forum - 10-25-2009, 03:00 PM
htpasswd and controllers - by El Forum - 10-25-2009, 03:28 PM
htpasswd and controllers - by El Forum - 10-25-2009, 05:02 PM
htpasswd and controllers - by El Forum - 10-25-2009, 09:11 PM
htpasswd and controllers - by El Forum - 10-26-2009, 03:18 AM
htpasswd and controllers - by El Forum - 01-01-2010, 03:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB