Git Product home page Git Product logo

home_fserver's Introduction

home_fserver

Security details

  • Initialize your config.py and password by running python home_fserver/utils.py --init
  • Set/reset your password by running python home_fserver/utils.py --set-pass. The hash+salt of the sha256 hash of your password will be saved to a file. Yes we are hashing twice here.
  • Generate/regenerate a secure key for your server with python home_fserver/utils.py --generate-key
  • When you log in, the password is immediately hashed (sha256) in browser, then that hash is sent to the server to be checked with the saved hash+salt.
  • Unless running only on LAN or you know what you're doing, you should always deploy the server with https only. Sending infos without TLS (https) will make your files accessible to other people on the internet.

Deployment instructions

  • Copy or symlink the folder you want to share into home_fserver/www/
  • Running dev server: ./scripts/run_dev.sh
  • Example nginx configurations: ... (Work in progress)
  • Run scripts/run_production.sh script to start the server. (Correct nginx config required.)

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.