Giter Site home page Giter Site logo

flask_filemanager's Introduction

flask_filemanager

Flask File Manager

You can use this as online graphical file manager. Setup by cloning this repo then

python -m venv .venv
pip install -r ./requirements.txt

Note: You need to download and unpack bootstrap (+ icons) and put them to static folder. The structure for bootstrap looks like this

/static
  /bootstrap
    /icons

Note

To create account, you can try using python3 server create-user

it might asks you if you want to use your username. Also, this asks you for a password. Make sure it's quite different from your login credential.

To change your password, you can delete and create your account.

Limitation Feature

In DOS systems (Windows), you can only access 1 disk at once as the file systems 'follows' unix way to interpret files, AKA starting from /

As set-uid doesn't work for windows as how setuid in Linux works[1], there may be no setuid app context in future (with setuid, users may be able to actually use their account without actually using root except if invalid user is assigned to database).

Security Consideration

This program is intended to run not as root. In login context, there's no set-uid to make sure only 1 user can access data from its view. If the program was executed by root, all users authenticated will be able to delete all files.

flask_filemanager's People

Contributors

rimueirnarn avatar

Watchers

 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.