Giter Club home page Giter Club logo

phpsecurelogin's Introduction

PHPSecureLogin

CodeFactor PHP version

By this project, you will have a more secure and strong authentication system.

The project runs on PHP 8.1, uses redis as session handler. Using Redis as a session handler benefits us in many ways.

  • Sessions on native PHP are kept through files. Redis, on the other hand, keeps data in memory, making it easier to access.
  • Information held with Redis is collected in a central area. In this way, all application nodes can share session information in this environment and session information can be preserved when switching between products.(Example: Youtube & Adsense)

Additionally, there is two-factor authentication and hCaptcha Integration on the system.

What are the benefits of using two-factor authentication?

Two-factor authentication is an authentication mechanism to double check your identity is legitimate.

When you want to sign into your account, you are prompted to authenticate with a username and a password - that's the first verification layer. Two-factor authentication works as an extra step in the process, a second security layer, that will re-confirm your identity. Its purpose is to make attackers' life harder and reduce fraud risks.

If you already follow basic password security measures, two-factor authentication will make it more difficult for cyber criminals to breach your account because it is hard to get the second authentication factor, they would have to be much closer to you. This drastically reduces their chances to succeed.

What are the benefits of using (h)Captcha?

Essentially captchas deter hackers from abusing online services because they block robot software from submitting fake or nefarious online requests. Implementing captcha as an anti-spam tool is very effective and easy to install. It is available for free and provides websites with an extra layer of security in 3 different major areas:

  • Protecting the registration form of the website from receiving useless information and bot accounts
  • Preventing spam comments in the form of advertisement and messages
  • Demonstrating customers to take security precautions in a profound way when it comes to sensitive information.

Other benefits of using a captcha form on your website are as follows:

  • It protects the integrity of online polls by stopping the submission of repeated false responses.
  • It prevents hackers from signing up for multiple email accounts that they plan to use for nefarious purposes.
  • It prevents cybercriminals from spamming the contents of news or blog pages with dodgy comments and links to other websites.

Prerequisites

  • A PHP 8.1 web server running LAMP or LEMP on a server or your own device.
  • Where Redis is installed a server or your own device.
  • hCaptcha Account
  • Composer

Requirments

  • PHP PDO Extension
  • PHP Redis Extension

Installing/Configuring

..

Tests

..

Sources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.