I'm not sure how to proceed. I have an idea for a web application(s) but I'm not sure which part to do first. If my application has an authorization and authentication need, do I create that first and then the rest of the program or do I do the other (to me more fun) stuff first and then plug in the user authentication later?
I'm not sure how I plug it in at all. Do I just have a IsRole function (homegrown function) at the top of every page or just above my page module?
if user is in the role
they can see this
end if
I am using php and codeigniter. I know there are several user modules out there I'm just not sure when to plug them in.
Also, not all use the same methods. One app is an Intranet app, so I will use ad and ldap. One is personal that will use Facebook and CodeIgniter (I guess facebook becomes the security monitor, but again, I don't know how or when to put that in my code):
if you're a facebook user
you can play this game
end if
Thank you for any help.