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

Authentication #63

Closed
statquant opened this issue Dec 18, 2023 · 5 comments
Closed

Authentication #63

statquant opened this issue Dec 18, 2023 · 5 comments

Comments

@statquant
Copy link

Hello,
My understanding is that there is no way to open a server with a password. Would that be a feature you would consider adding ?
Maybe you know of an alternative package that allows to do this ?
Many thanks for all your cool work

@yihui
Copy link
Owner

yihui commented Dec 18, 2023

This could be implemented (and should be easy to implement), but if you are providing a public-facing web service that needs authentication, I wouldn't recommend using servr. I'm not an expert in web servers and the servr package doesn't provide any security warranty. You should use it only for yourself or people who you trust.

@statquant
Copy link
Author

Hello, this is well understood, anyway no solution is perfectly secured, and this would be fine for 99.99% of users. This would be used within a set of people within the same organisation. That would really be great for us.

@yihui yihui closed this as completed in 0826c9b Dec 18, 2023
@yihui
Copy link
Owner

yihui commented Dec 18, 2023

Okay, now that you understand it, you can install the development version:

remotes::install_github('yihui/servr')

and see ?servr::server_config for an example of using the auth argument for authentication. Thanks!

@statquant
Copy link
Author

This works great, thank you very much

@yihui
Copy link
Owner

yihui commented Dec 19, 2023

You are welcome! I'll make a CRAN release soon.

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

2 participants