Replies: 2 comments
-
Dear @HaimarR, authentication is outside of the scope of quarto (command line). Authentication is a feature that should be implemented in Quarto Pub, GitHub Pages, GitLab Pages, Posit Connect, Netlify or your own web server depending on how you are publishing your document. If you are using your own server, check https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Related discussions: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm creating a website project in quarto and I want to implement basic authentication. Right now I have a page
index.qmd
with some public content and a button that links to another pagesyllabus.qmd
.For now the content in
syllabus.qmd
is also open to anyone, but I would like to change it so that the page prompts the user to input a password. No username and password stuff, just one password field with a password that is common for all users. For example, if thesyllabus.qmd
password is1234
, anyone can view the content after inputting1234
, else it will show a message saying the password is incorrect.I know how to do this with a local password, but for security reasons I'd like to use server-side authentication. I didn't see any documentation on this in the Quarto documentation website. Any ideas? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions