# Creating a secure log in.

**URL:** <https://www.phphelp.com/t/creating-a-secure-log-in/20254>\
**Category:** Security and PHP\
**Created:** [May 12, 2013, 5:16pm UTC](https://www.phphelp.com/t/creating-a-secure-log-in/20254 "2013-05-12T17:16:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryu](https://www.phphelp.com/letter_avatar_proxy/v4/letter/r/a88e4f/32.png) [@Ryu](https://www.phphelp.com/u/Ryu)\
**Post date:** [May 12, 2013, 5:16pm UTC](https://www.phphelp.com/t/creating-a-secure-log-in/20254/1 "2013-05-12T17:16:49Z")

</div>

I have a working log in system. It however is not very secure at all. I did research and found scrypt seems to be the best way to make a secure log in. I found a site offering its implementation but I’m new to this so I wouldn’t be able to distinguish if something is there that shouldn’t be in there.

I found it here : [https://github.com/DomBlack/php-scrypt](https://github.com/DomBlack/php-scrypt)

I haven’t analyzed the code fully yet but I’m surprised it has so many files. Any advice related to this area would be appreciated.

---

<div class="post-metadata">

**Author:** ![annaharris](https://www.phphelp.com/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@annaharris](https://www.phphelp.com/u/annaharris)\
**Post date:** [May 16, 2013, 12:42pm UTC](https://www.phphelp.com/t/creating-a-secure-log-in/20254/2 "2013-05-16T12:42:58Z")

</div>

To secure your PHP application/website you have to add login system. Here I shared one link that describes all required steps to create secure login in PHP.

> **[How to Create a Secure Login Script in PHP and MySQL](https://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL)**
>
> This wikiHow teaches you how to create a secure login page for your website using PHP and MySQL. Download the secure login script source code. Go to https://clevertechie.com/files/login-system.zip in your computer's web browser, then wait...
