From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Re: Make html password protected?
Date: Wed, 10 Sep 2014 10:50:30 +0100 [thread overview]
Message-ID: <54101EE6.10303@wilkesley.net> (raw)
In-Reply-To: <m2egvmza1k.fsf@krugs.de>
On 08/09/14 11:22, Rainer M Krug wrote:
> Hi
>
> I do not have much experience with html and websites (what an
> understatement!) but I would like to publish / export a simple html page
> password protected. Is ther an easy way to do it in word?
>
> The content is not highly confidential or sensitive, just some analysis
> for a paper of which I would like to provide regular feedback to my
> co-authors and which should not be to easily readable by others.
>
> Any suggestions?
>
It depends if you have access to your web server configuration. If you
are able to modify it the simplest way is to create an .htacess file in
the directory containing your file:
AuthName "Journal"
AuthType Digest file:
AuthUserFile /etc/httpd/journal.passwd
Require valid-user
Order allow,deny
Satisfy any
You can create a password file with:
htdigest -c /etc/httpd/journal.passwd "Journal" username
To add more users omit the -c argument, which will create a new file.
Make sure you use digest authentication not basic (ie don't use
htpasswd). Basic authentication transmits user names and passwords in
plain text.
Ian.
next prev parent reply other threads:[~2014-09-10 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 10:22 Make html password protected? Rainer M Krug
2014-09-10 9:50 ` Ian Barton [this message]
2014-09-18 11:09 ` Rainer M Krug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54101EE6.10303@wilkesley.net \
--to=lists@wilkesley.net \
--cc=emacs-orgmode@gnu.org \
--cc=ian@manor-farm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).