Results 1 to 2 of 2

Thread: Secure Login System

  1. #1

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Question Secure Login System

    I've done lots of PHP programs but never any that required any kind of login system so I was wondering what's the most secure way to create one.

    Would it be via the use of Sessions or Cookies or something else? How do you allow someone to verify their information and stay logged in until they log out? And how would you handle the log out?

    Everytime I've tried to look this up, every site seems to have a completely different way to do it so I didn't know if there was ways that should be avoided or ways that should be used.

    Thanks

    Also, if anyone has a very very bare bones example that would be appreciated (but not necessary).
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  2. #2
    Junior Member
    Join Date
    Mar 2006
    Location
    Newcastle, UK
    Posts
    19

    Re: Secure Login System

    It depends Sessions can be better to use as the user could have cookies disabled! However without the right protection anyone could get that Session ID and view what that user was viewing.

    It's quite hard to explain it all from scratch so i would advise looking at this...

    http://arutha.co.uk/viewtut.php?tutorialid=24
    or
    http://www.pixel2life.net

Posting Permissions

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



Click Here to Expand Forum to Full Width