https://github.com/cmroanirgo/onetime
A uber lightweight one time message submission system for php. Great for sending passwords securely
https://github.com/cmroanirgo/onetime
messages php php7 secure
Last synced: 4 months ago
JSON representation
A uber lightweight one time message submission system for php. Great for sending passwords securely
- Host: GitHub
- URL: https://github.com/cmroanirgo/onetime
- Owner: cmroanirgo
- License: gpl-3.0
- Created: 2017-11-14T11:28:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T20:04:10.000Z (over 7 years ago)
- Last Synced: 2025-01-11T11:21:54.587Z (6 months ago)
- Topics: messages, php, php7, secure
- Language: PHP
- Size: 43 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Onetime Messaging System
A uber lightweight one time message submission system for php. Great for sending passwords securely.
Yes, another one.* No database required! (Flat files are used)
* This project doesn't require composer or use autoloaders. It's old school and small.
* Messages expire after a period of time
* All messages are deleted, the contents are never kept once they're read.
* No records of deleted messages are stored except (optionally):
* The ID of the message
* The IP of the person who read the message (for security validation requests)
* The time the message expired or was read* If password protection is used and the password is incorrect a number of times, the message is also deleted.
# Requirements
* PHP (5 or 7+)
* Apache or similar
* php mail set up and configured
* php mcrypt. (Note that mcrypt itself isn't used as it's now considered legacy)
* A fresh subdomain. The `.htaccess` doesn't play well in sub diretories.# Installation
It's assumed you'll want the messages stored outside the publc folder of your webserver. If you can't do that, then this project probably isn't for you!
* Download/clone the repo.
* Copy/rename `private/includes/config.sample.php` to `private/includes/config.php` and edit a couple of settings.
* If your `private` folder isn't beside your `public_html`, you'll need to edit `index.php` and change `OT_SRC_PATH` to point to the correct location.
* Profit!