pawelmalak / snippet-box

Snippet Box is a simple self-hosted app for organizing your code snippets. It allows you to easily create, edit, browse and manage your snippets in various languages.
MIT License
977 stars 80 forks source link

Feature request: Authentication/Login module #44

Open chardric opened 2 years ago

chardric commented 2 years ago

I love this app but there's no login/authentication to protect the snippets. I need to publish and access this app from the Internet but there should be protection/security of the snippets that I post.

I hope you will include login to the next release.

TIA

walkxcode commented 2 years ago

+1

foocode commented 2 years ago

Perhaps in the meantime Authelia will provide the functionality you're after?

walkxcode commented 2 years ago

That would work for now. It would be amazing to be able to make private and public snippets though.

MRSessions commented 2 years ago

That would work for now. It would be amazing to be able to make private and public snippets though.

This for sure. I just came across this, and the one thing that drew me into it was that I didn't have to log in and could use the raw links without the need to log in.

I like the idea of having a log in so different users can use it and not have control over each other's snippets.

declan-wade commented 2 years ago

My main draw to Snippet Box is how incredibly fast it is to access, so if auth can be a setting that is enabled (opt-in), that would be appreciated!

ngophuong commented 2 years ago

Look forward to the apps' improvement

slfhstr commented 2 years ago

+1 for authentication +1 for public/private snippets

The biggest issue with no authentication is that the delete button is available publicly. So you can lose all your saved references.

2nd biggest issue is that anyone can add spam or malicious links into a snippet.

Snippet-box works brilliantly and is fast, but is really only deployable on localhost.