DisboxApp / web

Use Discord as a file storage service.
https://disboxapp.github.io/web/
GNU Affero General Public License v3.0
474 stars 86 forks source link

Suggestion: Log In system for quick access #11

Closed MiraculixxT closed 2 years ago

MiraculixxT commented 2 years ago

Currently, every time i want to access my data server, i need to enter my Webhook. This process is very slow, because i always have to copy it from discord or somewhere else.

What if you can create a account / login to your account via GitHub, Google or what ever to get a list of all your Webhook / Media Servers and easily click on them to open it.

But very interesting idea 👍

DisboxApp commented 2 years ago

This is actually functionality that's built in. On the same device, there's a local storage value stored with your webhook that should automatically redirect you from the main page to your storage in App.js.

For different devices, chrome or your password manager should detect that field as a password and enter it for you.

Which of these issues are you experiencing?

MiraculixxT commented 2 years ago

For some reason, my browser refused to save the cookie data. After accepting cookies, it automatically redirect me 👍 For other devices i use different browsers (linux and windows os), but i could save it on both manually.

Maybe a root account would still be use full, if you have multiple storage hooks and you could see some information about them (and maybe name them).

DisboxApp commented 2 years ago

Hey, happy to hear you managed to fix it!

I personally don't think an account system is that fitting - because of a few reasons:

  1. I don't really see the need for multiple storage hooks for one person, as each hook has unlimited storage. It seems to me like having multiple named storage hooks is just having folders.
  2. It makes things less secure and adds more possible places for vulnerabilities - one of the main goals of Disbox was to completely depend on Discord for anything that needs to be secured, they probably do it pretty good already, so why reinvent the wheel? That's why Disbox doesn't have access and doesn't handle any of your account details or any of your files. I'm not going to fool anyone. So adding an account system seems like it's just another risk for your files.

I do however see the need for support with more browsers - so when I eventually will get to the #4, I'll look into making sure the webhook URL autofill works there too.

I'm closing this issue now as this isn't a bug or anything, but feel free to reopen it if you have something to add and want to continue the discussion.