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

Thread: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Build 3

  1. #1
    ziziphus is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    10

    Question BAD BUG: Multiple Simultaneous Logins by Same User Possible: V5.0.0b (Build 3150)

    RE: Version 5.0.0b (Build 3150); XAMP: WindowsXP

    This version of Sugar Community allows multiple, simultaneous, unrestricted logins to all accounts ... from multiple IP's, machines, and domains ! That is, it allow lots of clients to login to the same account all at the same time !

    IS THERE SOMETHING WE ARE MISSING HERE ?

    There is nothing under the Admin tab that addresses this problem, or in the documentation, as far as I can find.

    Thanks
    Last edited by ziziphus; 2008-03-19 at 05:02 PM. Reason: (shorten title so all of it can be read)

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Build 3

    I wouldn't classify this as a bug.

    For one, it is not unusual for an application to allow this type of behavior, not justifying it, just pointing out that there is a need for it for which other vendors have allowed it to exist as well.

    I can think of a couple of reasons why you would want to restrict the logins...

    For example, suppose I am a help desk technician and my work in Sugar involves working with the Cases module. Several different cases are assigned to me throughout the day. I make my rounds through the office addressing the various issues. Rather than handwriting my notes for the resolution or what I may need (e.g. computer parts) for each case/computer, it is much more efficient if I can just pull up the case in Sugar and directly add my notes while at the workstation, or for that matter, from a Smartphone. Better yet, what if need to pull up some info from a similar Case to get to my solution?

    If I am only allowed to login from one location, I have to remember to logout each time I leave a workstation, and if I don't, I am out of luck as far as being able to access Sugar again until I get back to where I last logged in.

    What if I am 2 floors away from that workstation?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    ziziphus is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    10

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Bui

    Quote Originally Posted by Angel
    I wouldn't classify this as a bug.

    For one, it is not unusual for an application to allow this type of behavior, not justifying it, just pointing out that there is a need for it for which other vendors have allowed it to exist as well.

    I can think of a couple of reasons why you would want to restrict the logins...

    For example, suppose I am a help desk technician and my work in Sugar involves working with the Cases module. Several different cases are assigned to me throughout the day. I make my rounds through the office addressing the various issues. Rather than handwriting my notes for the resolution or what I may need (e.g. computer parts) for each case/computer, it is much more efficient if I can just pull up the case in Sugar and directly add my notes while at the workstation, or for that matter, from a Smartphone. Better yet, what if need to pull up some info from a similar Case to get to my solution?

    If I am only allowed to login from one location, I have to remember to logout each time I leave a workstation, and if I don't, I am out of luck as far as being able to access Sugar again until I get back to where I last logged in.

    What if I am 2 floors away from that workstation?
    I don't think you read my tread correctly. This version of Sugar allows SIMULTANEOUS logins to the same account. This is a serious problem which can result in an inestimable number of data and security problems. No application allows this ! The entire purpose of logins is so that a user must logout from an account, before a new session for the same user can log back in.
    Last edited by ziziphus; 2008-03-19 at 06:23 PM. Reason: (fix spelling errors)

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Bui

    Quote Originally Posted by ziziphus
    I don't think you read my tread correctly. This version of Sugar allows SIMULTANEOUS logins to the same account. This is a serious problem when can result in an inestimable number of data and security problems. No application allows this ! The entire purpose of logins is so that a user must logout from an account, before a new session for the same user can log back in.
    My reply was in response to your specific point about simultaneous logins.

    While you may not be aware of any apps that allow for this, that doesn't mean they don't exist. I have two that behave in that exact manner installed on my system right now. In fact, one of them even tells me that I am already logged in elsewhere if I login simultaneously from another machine.

    Perhaps you should consider doing a little more research.

    In any case, good luck finding a solution.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    coreyfournier is offline Junior Member
    Join Date
    Jan 2008
    Posts
    1

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Bui

    Wake up!!

    Lots of applications allow this.
    Its not worth the over head to keep track of this. 1 user should only be allowed to know 1 password. It is your fault for allowing the several users to know several passwords

  6. #6
    ziziphus is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    10

    Talking Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Bui

    The following historic thread indicates that this issue has been a problem in past versions, and has been a point of contention: http://www.sugarcrm.com/forums/showthread.php?t=10889

    A Sugar Hero previously working on the problem stated: "The fact that the same user/password can be used on 2+ different IPs is behavior we deliberately code against." A Senior Member said: "If the your users are logging-in from different IPs, then this is a bug. Every page render compares sessions, login info on the DB side, and some other internal security measures". This was presented in the contest of "logins at the same".

    This may be a particular problem for MySQL connections, and other relational databases, because transactions are serialized, often using the application's client-state/session variables for this purpose. It could certainly create convolution and terrific confusion in any user session logs. Also, when a user logs into most applications, session variables are serialized and locked to prevent corruption by other users.

    It would appear that research needs to be conducted to see how this problem crept in, and how, if ever, it was solved in the past.

    As web developers we have never seen an application that allows simultaneous logins to the same account from diverse locations. This makes tracking and control of legitimate users virtually impossible. It allows others using the same account to accidentally step on other users and potentially corrupt their records. While they view one screen, remote users, using the same account, may be making changes in the background.

    When a user attempts to login to an account already in use, most applications display a warning message and a button to close the other open session, e.g., C o n c o u r s e S u i t e (CRM), Windows, Linux, etc.

    It is imperative in a multiuser environment that each user be assured that he is viewing and working with current data at all times, and that such data and information is not be manipulated in the background by another user simultaneously logged in from a different location. That's why applications typically do not allow this. Who would want multiple users to be able to invisibly login (in the background) to their windows account, change files and settings in the background, and conduct network business with their credentials? This is but one small example of the magnitude of this issue.
    Last edited by ziziphus; 2008-03-19 at 07:17 PM.

  7. #7
    ziziphus is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    10

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Bui

    Quote Originally Posted by corey fournier
    Wake up!!

    Lots of applications allow this.
    Its not worth the over head to keep track of this. 1 user should only be allowed to know 1 password. It is your fault for allowing the several users to know several passwords
    For your very first post on this forum you are not doing very well. "Wake up" is not a very polite beginning and is not likely to win much consideration from me, other than what follows:

    It seems that so few people ever speak to the problem or question being presented. Too many blindly, and without offering any factual basis whatsoever, simply defend the application and then make obnoxious comments. It's OK to disagree, if it can be done rationally. And it's certainly good to debate the points and merits from various viewpoints.

    Concerning the problem, you said "Lots of applications allow this". So let me put your comment in perspective for you:

    NAME ONE WELL-KNOWN APPLICATION, WEB OR OTHERWISE, (aside from SUGAR) THAT ALLOWS TWO SIMULTANEOUS LOGINS FROM DIFFERENT LOCATIONS USING THE SAME ACCOUNT, WHILE ALLOWING THE THE FIRST LOGIN SESSION TO BE KEPT ALIVE ?

    I'll be waiting.

  8. #8
    JVWay is offline Sugar Community Member
    Join Date
    Sep 2007
    Location
    Corvallis, Oregon
    Posts
    452

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Bui

    Quote Originally Posted by ziziphus

    When a user attempts to login to an account already in use, most applications display a warning message and a button to close the other open session, e.g., C o n c o u r s e S u i t e (CRM), Windows, Linux, etc.

    .
    Hmm, I'm doing this in Salesforce right now. In fact I'm logged in from two separate PC's on my network and another completely off my network from a remote connection. Seems like if it was such an issue Salesforce would have prevented it.

    Are you also seriously contending that I can't be logged into simultaneous sessions of Windows and Linux. As a system admin that would be completely unacceptable. I couldn't install more than one system at a time. Old Novell systems use to allow you to set limited number of logins but you could change the number or make it unlimited. We've used multiple wiki's here and I can be logged in a number of times. I manage a huge number of users on a very complex questionnaire writing system that I can easily be logged in any number of times; simultaneously.

    A well written system will manage the connections and save the records just fine. I think you're off base with your concern here.
    Jerry Way
    Business Process Administrator

    Sugar 6.1.4 Professional
    (Testing 6.1.2)
    LAMP on Centos 5
    PHP 5
    MySQL 5
    Apache 2.2

  9. #9
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Bui

    This is not a bug. We allow multiple logins of the same userid from different IP addresses at the same time.

    However, we do kill a session if an IP address changes during the session.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  10. #10
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: BAD BUG: Multiple Simultaneous Logins by Same User Possible: Version 5.0.0b (Build 3

    Thanks for the definitive answer on this matter Clint.

    I am happy to see that Sugar does not consider it a bug either.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

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: 0
    Last Post: 2007-06-20, 11:20 PM
  2. BUG: Contact ListView showing same user multiple times...
    By StephaneZ in forum Developer Help
    Replies: 18
    Last Post: 2006-01-24, 02:56 PM
  3. Cannot Login
    By Dillon in forum Help
    Replies: 16
    Last Post: 2004-10-13, 02:52 AM

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
  •