Web Design Forum: Intelligent user authentication - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Intelligent user authentication Rate Topic: -----

#1 User is offline   AJReading 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 182
  • Joined: 02-July 07
  • Reputation: 2
  • Gender:Male
  • Location:York
  • Experience:Advanced
  • Area of Expertise:Coder

Posted 19 September 2008 - 12:03 PM

Hi guys.

I've been working on a large project recently that requires a lot of security. My users login to an application and their session id and ip is stored in a database, this is then checked on every restricted page to check for changes (session hijacks) etc.

Basically, I need a robust and graceful way of handling multiple logins with the same user account. Currently if a user is logged in and a second person then logs in with the same details, the first person is thrown out (because the session and ip) have changed. A warning that the user account is logged is needed.

I know there are several ways to approach the problem but I would like to know your thoughts on the best solution.
0

#2 User is offline   dede 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 14
  • Joined: 19-September 08
  • Reputation: 0
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 19 September 2008 - 05:45 PM

just a thought: won't be better if the second person is restricted to log in if the first one is already logged?
0

#3 User is offline   diabolikal616 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 17-July 08
  • Reputation: 0
  • Location:Northern Ireland
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 20 September 2008 - 09:49 AM

Yeah, that's what I thought. ^
0

#4 User is offline   Mihai Georgescu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 338
  • Joined: 04-May 08
  • Reputation: 0
  • Location:Suffolk, UK
  • Experience:Web Guru
  • Area of Expertise:Coder

Posted 20 September 2008 - 11:17 AM

Actually both thoughts are wrong. Here's why: A user could login from computer A ... go to computer B (laptop ?) and try to login there without previously logging out.

So, I think your current application state is correct ... my question is why would you want 2 users to be able to access the same account at the same time ?
0

#5 User is offline   diabolikal616 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 17-July 08
  • Reputation: 0
  • Location:Northern Ireland
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 20 September 2008 - 05:53 PM

He doesn't want two users to login in at the same time. It's for security reasons incase someone else logs in unauthorised. He wants to kick someone out to prevent this unauthorised access.
0

#6 User is offline   mikejonesey 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 355
  • Joined: 30-June 08
  • Reputation: 0
  • Location:Brighton, UK
  • Experience:Web Guru
  • Area of Expertise:Designer/Coder

Posted 06 October 2008 - 11:06 AM

I think forget IP...

there are many instances where an IP will be the same... on a lan although each local ip is different the ip from the router to the internet is the same, by using your current system you are saying no one in a libary or college or office can use it.

forget ip for security, the only use an ip is so that you have a stored trace back method to any mischiefous network, and can in future block that IP.

I believe SSL and SessionId is the way foward :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users