Skip to content
Snippets Groups Projects
  1. Nov 17, 2008
  2. Nov 08, 2008
  3. Oct 13, 2008
  4. Oct 12, 2008
  5. Oct 11, 2008
  6. Sep 12, 2008
    • Andreas Gohr's avatar
      more cookie security FS#1490 · f5c6743c
      Andreas Gohr authored
      This patch adds the httponly option to the PHP session cookies and DokuWiki's
      auth cookie when supported by the PHP version.
      
      It also adds a new config option 'securecookie' which is enabled by default.
      It makes sure the browser will not sent a cookie set via HTTPS over a
      non-secured connection. This option has to be disabled for wikis that only
      protect the login with SSL but not the whole wiki.
      
      darcs-hash:20080912224922-7ad00-d5275147ba9d17a9f6defa8a51ca720da74ba8a0.gz
      f5c6743c
  7. Aug 17, 2008
    • Gabriel Birke's avatar
      Wrap user modifications in events · 7d3c8d42
      Gabriel Birke authored
      Adds a wrapper function in the basic auth class which is used by the core code
      to modify the user database. The wrapper function signals events and delegates
      the action to the auth backend.
      
      darcs-hash:20080817141121-79ce3-3300a4342b62a7a18ebcc9a765d87b30a0264621.gz
      7d3c8d42
  8. Jul 28, 2008
    • Andreas Gohr's avatar
      Enhancements for password hashing (maybe fixes FS#1440) · 577c7cda
      Andreas Gohr authored
      This patch adds support for Apache style salted MD5 hashs (apr1). It also fixes
      smd5 for systems where crypt() does not support MD5 hashs.
      
      Unit tests were added.
      
      darcs-hash:20080728181616-7ad00-d0980557111cb05662ea1bcf4a78aa2b74ac90d0.gz
      577c7cda
  9. Jun 08, 2008
    • Andreas Gohr's avatar
      check ACLs correctly if only groups but no user is given FS#1415 · 34aeb4af
      Andreas Gohr authored
      When only an array of groups but no username where passed to auth_aclcheck()
      it defaulted to use the @ALL group only. This is not critical because this
      does not happen anywhere in the code.
      
      Only exception is when building the plain english explanation of an ACL rule
      in the ACL manager.
      
      darcs-hash:20080608101051-7ad00-0abd42f84c04473ad4fca149893a1b4d931ece48.gz
      34aeb4af
  10. Jun 03, 2008
    • Andreas Gohr's avatar
      reopen the session for storing the auth token · 09c2d803
      Andreas Gohr authored
      darcs-hash:20080603203138-7ad00-cce00e99b64c53b6ffa11748262a3a8c2cd1e37e.gz
      09c2d803
    • Andreas Gohr's avatar
      authentication via session tokens · f13fa892
      Andreas Gohr authored
      This patch adds a way to create a token for an authenticated user which is stored
      in the session. When a subsequent request resends this token, the request will be
      authenticated automatically without the need for any cookies or credential
      rechecking.
      
      The auth token expires with the session. Requesting a new token will invalidate
      the old one. Sending a wrong token will result in a 401 and any existing token
      will be revoked.
      
      This is currently not used anywhere in the code but can be used for browser
      intitiated client software (flash, applets, ...).
      
      Note this is unreleated to the anti CSRF sectoken implementation.
      
      Users who want to make use of this mechanism will probably need to pass the
      session id and a valid sectoken in addtion to the authtoken
      
      darcs-hash:20080603193450-7ad00-2f35ddde16a31c4f2699e0e6050b3c4277b2bc64.gz
      f13fa892
  11. Mar 15, 2008
  12. Feb 27, 2008
    • Guy Brand's avatar
      Superuser and manager now can be comma separated lists · 7651d633
      Guy Brand authored
      This patch allows $conf['superuser'] and $conf['manager'] to be lists
      of values instead of only a single value. So one can put:
      
        $conf['superuser']
      
      darcs-hash:20080227142515-19e2d-c160914589f71531583e7ddaab1fc6a81996efa1.gz
      7651d633
  13. Feb 26, 2008
    • Andreas Gohr's avatar
      fix usage of is_admin in auth_aclcheck · 85d03f68
      Andreas Gohr authored
      There were a few problems with name encoding for groups and users
      introduced in the recent aclcheck change
      
      darcs-hash:20080226172257-7ad00-d591f0d2f2219a2b23f93060c65b8fb5f46bd1d7.gz
      85d03f68
  14. Feb 15, 2008
  15. Feb 13, 2008
  16. Feb 12, 2008
  17. Nov 02, 2007
  18. Sep 30, 2007
    • Andreas Gohr's avatar
      don't use realpath() anymore (FS#1261 and others) · 00976812
      Andreas Gohr authored
      The use of realpath() to clean up relative file names caused some
      trouble in certain setups relying on symlinks or having restricitve
      file structure setups.
      
      This patch replaces all realpath() calls with a PHP only replacement
      which should solve those problems.
      
      darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
      00976812
  19. Aug 30, 2007
  20. Aug 19, 2007
  21. Aug 05, 2007
  22. Jun 25, 2007
  23. Jun 03, 2007
  24. May 28, 2007
    • Chris Smith's avatar
      Partial Fix FS#1085 · 4c989037
      Chris Smith authored
      This fix adds a new configuration setting, 'auth_security_timeout', which controls the duration (seconds) before authentication
      information is rechecked.  The default value is set to 900 seconds (15 minutes). Wiki installations particularly concerned
      about security should set this value to 0.
      
      DokuWiki maintains a copy of the most recent authentication details in both a browser cookie and server session.  Normally these
      values are compared on each page visit.  If the comparison passes the user is accepted. The same data will be used over and
      over until either the cookie or the session expires.  FS#1085 is concerned with updates to the original authentication data not
      being able to affect this comparison.  The new 'auth_security_timeout' setting will force expiration of the saved data after the
      specified period has elapsed.
      
      Re-authentication may affect page response, especially on systems which use remote authentication systems.
      
      This fix is considered partial and should be reviewed after the next release with a view to extending the authentication class
      to allow those mechanisms which are able to control when DW should revoke authentication.
      
      darcs-hash:20070528194747-d26fc-f471004da604eb66f7131c470e446b98c29d801b.gz
      4c989037
  25. Mar 02, 2007
  26. Mar 01, 2007
    • Guy Brand's avatar
      Allow @USER@ variable in ACLs · a8fe108b
      Guy Brand authored
      This saves a lot of ACL lines for users namespaces for example:
      
      users:*               @ALL        1
      users:@USER@          @USER@      8
      
      darcs-hash:20070301230309-19e2d-90a00b70a2af546fd5194ade614c130e9f7864eb.gz
      a8fe108b
  27. Jan 06, 2007
  28. Jan 09, 2007
  29. Dec 03, 2006
  30. Nov 14, 2006
    • Andreas Gohr's avatar
      HTML_EDITFORM_INJECTION event added · 88e6a4f2
      Andreas Gohr authored
      A simple event to inject additional HTML into the editform. This probably
      needs to be improved.
      
      darcs-hash:20061114220825-7ad00-ce868b8d8a25f5120c49dc018b8fd1024aff6e12.gz
      88e6a4f2
  31. Nov 04, 2006
  32. Nov 03, 2006
Loading