Giter Site home page Giter Site logo

cloud-sh-server's Introduction

cloud-sh-server's People

Contributors

quentinguidee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

vaimalaviya1233

cloud-sh-server's Issues

Use JWT for authentication

https://jwt.io/

Due to the very personal nature of the data stored on cloud.sh, there must be a solution to revoke these tokens.

One solution would be to generate one master token per user, which would also be repeated in the JWT. In the event that the user were to revoke the master token, all JWTs would be revoked automatically.

Support another DBMS

SQLite is good for very small apps. However, it only allows one connection at a time. For example, uploading multiple files at once causes some uploads to fail.

This error should be fixed by using PostgreSQL

Add global storage limit

Currently, there are no limitations on how much cloud.sh server can use the storage, which could be defined in .env file

Better auth token generation

Currently, the auth token generation could be predicted.

token := make([]byte, 32)
_, err := rand.Read(token)

We should probably set the seed and also use lowercase chars.

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.