Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2011
    Posts
    95
    Thanks
    7
    Thanked 0 Times in 0 Posts

    PHP secure login/registration tutorial?

    I am new to coding and have no clue about sessions cookies or anything needed to create a way for people to securely register and login to a site.

    The site i have planned i expect (hope) to be used by my entire community so i really need to get it right without any vunerabilities.

    Can anyone suggest any good resources or tutorials or anything that might help me?

  • #2
    Regular Coder
    Join Date
    Dec 2010
    Location
    Kent, UK
    Posts
    573
    Thanks
    23
    Thanked 10 Times in 10 Posts
    hey there. weve never spoken before, there is a wide varity of resources to help you in this post:

    Resources to Learn PHP

    good luck if you need any more help, im sure myself and others might be able to help you
    http://360-tactics.co.uk/forum/index.php

    Crime-Wave

    please post your code wrapped in tags
    please post your PHP wrapped in tags

  • #3
    New Coder
    Join Date
    Feb 2011
    Posts
    95
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Dan13071992 View Post
    hey there. weve never spoken before, there is a wide varity of resources to help you in this post:

    Resources to Learn PHP

    good luck if you need any more help, im sure myself and others might be able to help you
    Thankyou for the link i do already have some of those sites bookmarked and ill be sure to check out the rest of them.

    Before your reply i did find this tutorial and i was wandering i you would look it over and tell me if its any good and worth using.

    http://phpeasystep.com/phptu/6.html

  • #4
    Regular Coder
    Join Date
    Dec 2010
    Location
    Kent, UK
    Posts
    573
    Thanks
    23
    Thanked 10 Times in 10 Posts
    from the first look i would have said no, this is because untill i read the whole thing down there was nothing to encrypt passwords, however, when i got near the bottom, it became apparent that there is a link to another tutorial that helps to encrypt passwords.

    In my opinion I would use the password hashing (as i believe is the right term) called "SHA1" unless someone else would like to step in and tell you a better alternitive.

    That tutorial is a basic, it does cover protecting against some form of SQL injections, however i would also suggest using this Captcha from the link below if you are going to use that, and as i just learnt how to impiment Captcha I would either use googles one called ReCaptcha, or use Sercurimage, both links are below:

    Sercurimage

    Googles ReCaptcha service
    http://360-tactics.co.uk/forum/index.php

    Crime-Wave

    please post your code wrapped in tags
    please post your PHP wrapped in tags


  •  

    Posting Permissions

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