fusionauth / security-scripts Goto Github PK
View Code? Open in Web Editor NEWScripts built from our Guide to User Data Security
Home Page: https://fusionauth.io/resources/guide-to-user-data-security
License: Apache License 2.0
Scripts built from our Guide to User Data Security
Home Page: https://fusionauth.io/resources/guide-to-user-data-security
License: Apache License 2.0
The backup script in template/ubuntu-16.04/backup.sh
uses /tmp/backups
as the destination of backup files (as well as intermediate files).
BACKUP_DIR=/tmp/backups
On some distros /tmp
is cleared either on boot or by regular cron jobs: http://serverfault.com/questions/377348/when-does-tmp-get-cleared
On other systems /tmp
is backed by RAM and may be lost on crashes.
This is not the default behaviour on Ubuntu, but should a different directory be chosen in case this script is used on a distro that does clear tmp OR if a user happens to configure their Ubuntu server to clear tmp?
Perhaps this is actually a philosophical point: backups are not temporary by definition. They are persistent (at least for the duration of the retention policy).
How about /root/backups
? Is there an even better option? Is /tmp
actually the right place; why?
I'm curious to hear your thoughts!
the default number of rounds is 5000. Increasing this number adds to the time it would take to brute-force or find a collision, while adding very little time to user login time. The chance of finding a collision is very low but this is an easy step to reduce it even more.
password [success=1 default=ignore] pam_unix.so obscure try_first_pass sha512 rounds=200000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.