This topic is locked
[SOLVED]

 Is it possible to have two types of security in the same application

8/25/2014 10:12:21 AM
PHPRunner General questions
G
g_parry author

I have a number of users who belong to a domain and would like to access the project using windows authentication - I then have another set of users who need to perform similar tasks who don't belong to the domain.
This raises two issues for me:

  • Is it possible to use windows authentication for some users and PHPR for others
  • How do I get the same level of security from windows authentication as I get from within PHPRunner eg certain groups can only add a record - other groups can edit it etc.
  • I need both questions answered because if it's not possible I will have to develop two versions and different users can access it at different addresses

Sergey Kornilov admin 8/25/2014

You can do this within a single PHPRunner project but some coding will be required. You can use login page with Static or Dynamic User Group permissions. Then you need to add some code to AfterAppInit event that would check if current user are logged in to Active Directory and assign permissions for all tables manually based on username or group.

G
g_parry author 8/25/2014



You can do this within a single PHPRunner project but some coding will be required. You can use login page with Static or Dynamic User Group permissions. Then you need to add some code to AfterAppInit event that would check if current user are logged in to Active Directory and assign permissions for all tables manually based on username or group.


Cheers Sergey - this means I can continue developing as planned although I may end up buying some development time to ensure it's correct