Welcome Guest, Not a member yet? Register   Sign In
Using Ion Auth with two user tables
#1

I'm developing a e commerce site where I need to handle frontend and backend parts of the applications. Therefore, I 'm going to handle customer logins and admin user logins. As this is a e commerce site, most people recommend to store users and customers separately considering security. If this was not e commerce type, I would go with user groups method and store all users in a single user table and manage privileges accordingly.

My problem is how should I use same Ion Auth authentication library for frontend and backend while keeping customer table and user table separately. You can understand that underneath problem is customer and admin session handling with same auth library.

I think HMVC also can not solve this problem. Currently I'm thinking of duplicating application folder or developing two standalone CI applications for frontend and backend.

I have very little experience in this type of applications. Can anyone guide me to the correct path? Thanks in advance.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB