Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secret creation non public? #105

Open
apiening opened this issue Jun 21, 2019 · 5 comments
Open

Secret creation non public? #105

apiening opened this issue Jun 21, 2019 · 5 comments

Comments

@apiening
Copy link

Is it possible to somehow restrict the creation of secrets for example by basic authentication?
The secret links should still function directly without authentication.

I'm a little bit sceptic on providing the full functionality (including creation of new secrets) as a free unlimited public service. Since I can't control what people share with it, there might be legal issues that I would prefer to avoid.

@kleinron
Copy link
Contributor

kleinron commented Nov 9, 2020

IMO you'd still have the same legal issues even when authentication is applied. I don't see how authentication is related to the subject.

@neuhaus
Copy link
Contributor

neuhaus commented Nov 3, 2024

With authentication you can limit creation of new secrets to those who are authorized (duh!)

@kleinron
Copy link
Contributor

kleinron commented Nov 3, 2024

ok, now I see your point.
however, this adds friction to the entire process. not so nice..

@simonerota
Copy link

On our case we solved this with a reverse proxy (I think that's reccommended in any case) enforcing authentication for the base path '/' while allowing unauthenticated access to /snappass.* (secret reveal) and /static/* (resources such as js, css) paths.

@neuhaus
Copy link
Contributor

neuhaus commented Nov 6, 2024

That sounds like a good solution, perhaps a configuration like that could be added to the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants