Giter Site home page Giter Site logo

engineglue / litpass Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 47 KB

This project is a working example of how to incorporate the LitPass API. An authentication script is included in this example so you can easily drop it in and see how it works.

Home Page: https://litpass.cdnja.com

License: GNU General Public License v3.0

HTML 39.85% PHP 60.15%
manager password

litpass's Introduction

litpass

This project is a working example of how to incorporate the LitPass API. An authentication script is included in this example so you can easily drop it in and see how it works.

[When using the LitPass API, you are asked to include a link to the LitPass help page. A sample of this is included in the index.htm.]

Installation:

  1. Place the project files within an Apache web server with PHP and sqlite.
sudo apt update
sudo apt install apache2 php sqlite3 php-sqlite3
sudo service apache2 start

cp * /var/www/litpass/

[Additional procedures are required for a production environment and they're not included here.]

  1. Apache will need permission to write to the SQLite database:
chown -R www-data:www-data /var/www/litpass/databases/
  1. Access index.htm in a web browser and sign up to create a user account in the database. (Under normal conditions, a verification link would be emailed to the user but in this case, it will be printed to the screen.)

  2. Utilize the verification link to create your account, then logout and log back in to test the login script.

You can browse the data in the database using a SQLite database browser to see how the records are stored but I suppose you'll mainly just be interested in reading the code to see how this works. Let me know if you have questions.

Note that there are functions included with these scripts (such as a user verification process) but they're beyond the scope of this project and will need additional setup. Also note that within a non-ssl/tls dev environment, this example won't be able to hash anything but it will still demonstrate the process. You may also want to add a captcha to key forms. Again, this project is only an example of how to incorporate the LitPass API. ;)

litpass's People

Contributors

engineglue avatar

Watchers

james tregaskis avatar  avatar

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.