Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Prevent multiple logins with a single user name

  1. #1
    bernyperera is offline Senior Member
    Join Date
    Nov 2009
    Posts
    49

    Default Prevent multiple logins with a single user name

    Hi everyone,

    Please let me know how to prevent multiple logins from a given user name in 5.5.0 CE.

    ie. One user can log in ONLY from one location at any given time.

    Thanks
    Berny

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Prevent multiple logins with a single user name

    You can tie a login to an IP address ... but that won't prevent multiple logins with the same username ... restricting this would prevent users from being able to access Sugar simultaneously on different devices .. at any one time our users can have sugar open on a mobile phone, a laptop and a desktop PC.

  3. #3
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Prevent multiple logins with a single user name

    The Flag Validate user IP address is used to
    " * Make sure a user isn't stealing sessions so check the ip to ensure that the ip address hasn't dramatically changed".

    This "dramatical" change is handled in module /modules/Users/autehtication/SugarAuthenticate/SugarAuthenticate.php
    in function validateIP(), so perhaps you can define the definition of "dramtical" a little bit closer to your needs in that function.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  4. #4
    bernyperera is offline Senior Member
    Join Date
    Nov 2009
    Posts
    49

    Default Re: Prevent multiple logins with a single user name

    Thank you sirs,

    I understand that there is no specific way to achieve this.

    Alternatively, is it possible to capture the login/logout time stamps of the users, given a date range ?

    Thanks & Regards,
    Berny

  5. #5
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Prevent multiple logins with a single user name

    In SugarForge there is an login audit module, just search for "login audit" on the main page of sugarforge.
    This module traces all login requests, successful or not.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  6. #6
    bernyperera is offline Senior Member
    Join Date
    Nov 2009
    Posts
    49

    Default Re: Prevent multiple logins with a single user name

    Thank you,

    It's unfortunate to see that this module is for 5.0.
    I am using 5.5.0 CE.
    Is it upgradable to 5.5.0 CE ?

    Regards,
    Berny

  7. #7
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Prevent multiple logins with a single user name

    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  8. #8
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Prevent multiple logins with a single user name

    But... if you want to audit the IP number of the login requests, you could want to use the IP-Version of that login audit attached to this post.
    Attached Files Attached Files
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  9. #9
    bernyperera is offline Senior Member
    Join Date
    Nov 2009
    Posts
    49

    Default Re: Prevent multiple logins with a single user name

    Thank you so much Harald,
    I will give it a try.
    I greately appreciate your help.

    Best Regards,
    Berny

  10. #10
    bernyperera is offline Senior Member
    Join Date
    Nov 2009
    Posts
    49

    Default Re: Prevent multiple logins with a single user name

    Quote Originally Posted by kuske View Post
    But... if you want to audit the IP number of the login requests, you could want to use the IP-Version of that login audit attached to this post.
    Thank you Kuske,

    The Login Audit module works perfectly on 5.5.0 CE.

    But, tt looks like the IP version is meant for 5.5.0 P and not for 5.5.0 CE.
    I tried it on CE, managed to install without errors, but to see only blank entries.

    Does this IP version support 5.5.0 CE ?

    Best Regards
    Berny

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 2009-09-28, 04:43 PM
  2. Replies: 10
    Last Post: 2008-03-24, 05:10 PM
  3. multiple logins possible
    By sacramentojoe in forum Developer Help
    Replies: 5
    Last Post: 2008-03-19, 07:21 PM
  4. Replies: 3
    Last Post: 2006-06-24, 06:34 AM
  5. Track User Logins
    By meeder in forum Help
    Replies: 2
    Last Post: 2006-04-13, 08:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •