This topic is locked

password encryption through two projects?

4/23/2009 5:58:12 PM
PHPRunner General questions
W
wfcentral author

I am creating a very detailed web application for a client - there will be three groups that sign in (admin / manager / member).
Each one has such a different setup and usage that I am creating three phpRunner projects (mainly because the username/password for each group is in a different table). So, I'm creating three portals using three phpRunner projects all using one database.
If I have password set to encrypted in both projects and the admin user creates an account for a manager I don't see how the Manager will be able to login since this is a different project.
Admin Project (use tbl_admin for login credentials)

tbl_admin = id, username, password

tbl_managers = id, username, password, name, etc

tbl_members = id, username, password, name, etc
Manager Project (use tbl_manager for login credentials)

tbl_managers = id, username, password, name, etc

tbl_members = id, username, password, name, etc

B
barlow 4/24/2009

If I have password set to encrypted in both projects and the admin user creates an account for a manager I don't see how the Manager will be able to login since this is a different project.


Have you tired it? It should work.
PHPRUNNER uses md5() one-way encryption. To test if the entered password is correct the candidate password is encrypted and the encrypted string compared against the encrypted string in the database. It will not matter that this test is being done in separate projects, and the login should work.

J
Jepsen 4/24/2009

It works
I have been doing exactly that over a long time now on several projects.
All projects share one member list. Dynamic security manage what the users can do on the individual projects