Aleks-Daniel Jakimenko dbcc6d1459 "secure" and "httponly" flags for cookies (improved security)
These flags are essential for security. The problem we are trying to
solve is the following:
1) you visit a wiki using HTTPS and you set your password.
2) you accidentally visit the same website using plain HTTP
3) although you don't notice, your cookies are sent over the insecure
connection.
Even if that website has redirection, even it denies any insecure
traffic, your cookie is still leaked. That's how cookies work.

"secure" and "httponly" flags solve this. It means that these cookies
will only be sent over a secure connection. If you have set your
password using HTTPS and later you visit the same wiki using plain HTTP,
it will look like you are not logged in (because these cookies will not
be used when you access the website using a non-secure connection).

If you have HTTPS on your website -- ALWAYS make sure that you set your
password using it. Alternatively redirect all non-secure requests to
HTTPS - that's even better.

If you set your password using HTTP, the same cookie will be used for
both HTTP and HTTPS requests - this is done for compatibility with
HTTP-only wikis.

$ENV{'HTTPS'} returns 'on' or empty string. 'on' is truthy so it
should not create any problems, we can safely use it.

I've tested this, it works as expected.
2015-04-20 23:13:26 +03:00
2006-08-31 09:57:49 +00:00
2012-05-24 18:08:42 +02:00
2012-05-24 18:08:42 +02:00
new
2004-11-23 23:20:34 +00:00
2014-06-20 22:39:37 +02:00
2003-12-24 04:24:52 +00:00
2004-06-26 00:03:07 +00:00
2004-01-31 02:09:01 +00:00
2004-04-12 03:04:12 +00:00
2006-08-10 09:00:59 +00:00
2014-06-30 14:29:45 +02:00
2006-08-31 18:22:16 +00:00
2007-08-11 10:34:04 +00:00
2015-02-23 08:12:42 +01:00
2005-01-09 23:38:09 +00:00
2007-11-07 20:43:18 +00:00
2005-10-07 23:20:06 +00:00
2004-01-30 13:28:23 +00:00
New
2007-12-09 22:04:36 +00:00
New
2007-12-09 22:04:36 +00:00
2007-10-04 14:29:41 +00:00
2006-05-28 14:43:12 +00:00
2006-03-15 20:55:59 +00:00
2013-03-05 23:13:04 +01:00

This is the README file distributed together with the Oddmuse script.

To install the script, copy wiki.pl into your cgi-bin directory.  This
will store the pages in a temporary directory for you.  In order to
make this permanent, change the $DataDir option in the script from
'/tmp/oddmuse' to 'oddmuse'.  This will save the pages in a
subdirectory of your cgi-bin directory.

In order to start your wiki, click on the edit link (the first link
below the navigation bar, at the bottom of the page).  This will allow
you to enter some text for this page.  Click the Save button and you
are done.

To add new pages, edit the homepage and add links to new pages.  Links
are traditionally formed by ConcatenatingCapitalizedWords.  This kind
of link pattern is called a wiki word.

Alternatively, put links in [[double square brackets]].  This kind of
link pattern is called a free link.

As long as the new pages don't exist, links to these pages are
followed by a clickable question mark.  Click on the question mark to
create the new page.

Enjoy your wiki experience.

Visit http://www.oddmuse.org/ to learn more about the translation
files and modules that are part of this package.

----------------------------------------------------------------------

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

Both the GNU Free Documentation License, and the GNU General Public
License are distributed together with this script.  See the files FDL
and GPL, respectively.
Description
A simple wiki engine written in Perl. No database required.
Readme GPL-3.0 11 MiB
Languages
Perl 92.4%
CSS 5.9%
Shell 0.7%
Python 0.4%
JavaScript 0.3%
Other 0.2%