User Authentication Concepts |
[eluser]underskor[/eluser]
Hey lads, Struggling to find a decent article on this. Wondering what you guys think. Say you have a parent controller's constructor, which is where the authentication for the child controllers is done. Is the following (very general) process the best, most secure way? Note: I haven't delved very far into sessions so I apologize if anything is incorrect. Code: /*Login Page****************************************/ Apologies if any of this fails to make sense. Had this New Thread page open for about 2 hours now, doing reading, trying to figure out the best way to ask what I want. Thanks
[eluser]Fr3aked0ut[/eluser]
I think you should work with cookies too, SESSIONS isn't the best way to do it.
[eluser]underskor[/eluser]
Can you please elaborate? I'm not going to base my auth system around personal opinion. Thanks!
[eluser]pistolPete[/eluser]
Use the sessions library provided by CI and have a look at the numerous auth libraries (e.g. at the wiki or in "ignited code").
[eluser]Fr3aked0ut[/eluser]
[quote author="underskor" date="1235487552"]Can you please elaborate? I'm not going to base my auth system around personal opinion. Thanks![/quote] I didnt really understand your issue. Can you re-explain? thanks. |
Welcome Guest, Not a member yet? Register Sign In |