Is it possible to protect a single page with htaccess/htpasswd? #132
-
Hi there, is it possible to protect a single page with htaccess/htpasswd? The use case is following: Me and my fellow students have a lecture named "scripting languages for bioinformatics" and our professor wants us to upload our python files to a subpage of our homepage (The homepage i successfully got running a hour ago ;-) ). The subpage should be protected by a htpasswd-file. There is no other option because the prof gave us a copy of his hashed login-data so he can log into the subpage to look for the files or other things. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 3 replies
-
Hi, you can protect whole directories in your (for example)
Please note you have to add users and adjust your folder names. Then you are able to link from within a single page in Markdown syntax to these files. Go to the directory in your browser and click As an alternative if you want to protect the |
Beta Was this translation helpful? Give feedback.
-
As a third alternative, as a developer you can use the Yellow API to write your own plugins. It's would be possible to check for Just an idea. 😄 |
Beta Was this translation helpful? Give feedback.
-
@markseu: BTW: I found a solution for my problem. It is possible to protect a specific URL with htaccess:
|
Beta Was this translation helpful? Give feedback.
@markseu:
Sounds good. I already wanted to extent my PHP-skills and a "protected site"-feature sounds like a nice extension to Yellow.
BTW:
I found a solution for my problem. It is possible to protect a specific URL with htaccess: