SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

Restrict Users to particular segment

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
magadred



Joined: 21 May 2008
Posts: 11

PostPosted: Wed May 21, 2008 7:46 pm    
Post subject: Restrict Users to particular segment

Does the software allow users on different segments to login to their non-parent segment so to speak? In other words if there are segments 1 and 2 and someone registers on segment 1 do they automatically have credentials to log into segment 2? If so how is this prevented?
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Thu May 22, 2008 4:19 am    
Post subject:

By default, FirstSpot will allow user to login via any any network segments ( assuming you are talking about Scenario 3, see http://www.patronsoft.com/firstspot/topologies.html ).

If you want to somehow distinguish user from different segments, you need to customize the php. One way to do it is to change the signup_form.php and prefix username (e.g. network1_xxxx) when user self sign-up, and you need to use the "Redirect PHP" feature (see chapter 3 of firstspot_guide.pdf) to make the login page of each segment to add back the username prefix in.
_________________
~ Patronsoft Limited ~
Back to top
magadred



Joined: 21 May 2008
Posts: 11

PostPosted: Fri May 23, 2008 12:37 am    
Post subject:

So will this prevent network1_user from being able to log into network2?
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri May 23, 2008 8:36 am    
Post subject:

My idea is that the login page in each segment (again refer to Redirect PHP) will insert the username prefix back in, so they is no way user self sign-up in one segment can login in another segment.

The customization I propose is not that difficult, but you do need a PHP/HTML/Javascript programmer to pull it off.
_________________
~ Patronsoft Limited ~
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group