summaryrefslogtreecommitdiff
path: root/docs/narr/sessions.rst
AgeCommit message (Collapse)Author
2017-06-27Update all external links per `make linkcheck`Steve Piercy
- Most are changing http to https, or readthedocs.org to readthedocs.io, and some for Python packaging reorganizing some docs into tutorials, as well as miscellaneous changes.
2017-04-26Apply drafting changes to documentation.Matthew Wilkes
2017-04-12Fix tests and documentation in various places, and feedback following reviewJure Cerjak
regarding naming of variables and code cleanup.
2017-04-12Create a new ICSRF implementation for getting CSRF tokens, split out from ↵Matthew Wilkes
the session machinery. Adds configuration of this to the csrf_options configurator commands. Make the default implementation a fallback to the old one. Documentation patches for new best practices given updates CSRF implementation.
2016-10-06Add pyramid_nacl_session to session factoriesSteve Piercy
- closes #2791
2016-04-24Allow Sphinx doctests to run and pass with `make doctest ↵Steve Piercy
SPHINXBUILD=$VENV/bin/sphinx-build`. - TODO: two tests in `docs/narr/hooks.rst`
2016-04-24update bad linkSteve Piercy
2016-04-19replace pyramid.require_default_csrf setting with ↵Michael Merickel
config.set_default_csrf_options
2016-04-16In addition to CSRF token, verify the origin tooDonald Stufft
Add an additional layer of protection against CSRF by verifying the actual origin of the request in addition to the CSRF token. We only do this check on sites hosted behind HTTPS because only HTTPS sites have evidence to show that the Referrer header is not being spuriously removed by random middleware boxes.
2016-04-15Have Automatic CSRF on all unsafe HTTP methodsDonald Stufft
Instead of only protecting against unsafe POST requests, have the automatic CSRF protect on all methods which are not defined as "safe" by RFC2616.
2016-04-15Only Accept CSRF Tokens in headers or POST bodiesDonald Stufft
Previously `check_csrf_token` would allow passing in a CSRF token in through a the URL of a request. However this is a security issue because a CSRF token must not be allowed to leak, and URLs regularly get copy/pasted or otherwise end up leaking to the outside world.
2016-04-10cleanup some references in the docsMichael Merickel
2016-04-10deprecate the check_csrf predicateMichael Merickel
2016-04-10rewrite csrf checks to support a global setting to turn it onMichael Merickel
- only check csrf on POST - support "pyramid.require_default_csrf" setting - support "require_csrf=True" to fallback to the global setting to determine the token name
2015-10-16minor grammar, rewrap 79 colsSteve Piercy
(cherry picked from commit a18960a)
2015-05-31- update testing and templating remarksSteve Piercy
- grammar, punctuation, 79-column rewrapping, case corrections
2015-05-30Added notes on check_csrf view predicate. Also it is an add_view parameter, ↵Kiss György
not add_route.
2015-01-07Provide a ref to check_csrf_tokenPavlo Kapyshin
2015-01-07Fix renderingPavlo Kapyshin
2014-02-10- Update list of session packagesSteve Piercy
- Update Quick Tour section on sessions - Closes PR #1150
2013-10-19Merge branch 'master' into feature.signed-cookie-sessionMichael Merickel
2013-10-19update the docsMichael Merickel
2013-10-17fix documentation for csrf checkingMichael Merickel
2013-10-02fix the docs build and get rid of stray references to BeakerChris McDonough
2013-10-02Merge pull request #1138 from kpinc/doc_sessionChris McDonough
Docs: sessions.rst: Explain example.
2013-10-02Docs: sessions.rst: Sessions only work when the client cooperates.Karl O. Pinc
2013-10-02- Removed mention of ``pyramid_beaker`` from docs. Beaker is no longerChris McDonough
maintained. Point people at ``pyramid_redis_sessions`` instead.
2013-10-02Docs: sessions.rst: Explain example.Karl O. Pinc
2013-08-13Merge remote-tracking branch 'origin/master' into docs.gettingstartedPaul Everitt
Conflicts: docs/index.rst docs/latexindex.rst setup.py
2013-08-12All wrapped up, pre-merge.Paul Everitt
2013-08-06add redis session mentionChris McDonough
2013-06-04Add examples to narrative CSRF docsLuke Cyca
2013-06-02Edited narrative docs about CSRFLuke Cyca
2013-03-23no need to qualify Python interactive sessionsTshepang Lekhonkhobe
Sphinx automatically notices them as Python snippets and gives them syntax highlighting. These snippets are also too short to deserve linenos.
2013-01-29pluralizeTshepang Lekhonkhobe
2012-11-02explain csrf token stealing potentialityChris McDonough
2012-06-19point at pyramid_beaker docs rather than its github pageChris McDonough
2011-07-20add more index markersChris McDonough
2011-07-09Old sentence was grammatically incorrect, literally meant that the URL or ↵ejo
button in question did not know it was redirecting the user. It is the user who does not know, so "unwittingly" is replaced with "secretly"; "surreptitiously" would be another accurate alternative. An alternative sentence construction that maintains the word "unwittingly" would be, e.g., "...might click on a URL or button on another website and be unwittingly redirected to your application to perform some command that requires elevated privileges."
2011-01-27module name contractionsChris McDonough
2011-01-08redocument relationship between get_csrf_token and new_csrf_tokenChris McDonough
2011-01-06remove comment, it's more or less answeredCasey Duncan
2011-01-06clarify by promoting parenthetical, add comment requesting some adviceCasey Duncan
2011-01-06clarifyCasey Duncan
2011-01-05add parens to method referencesCasey Duncan
2011-01-05forgot an important session feature in summaryCasey Duncan
2011-01-05add summary paragraph to tie things together betterCasey Duncan
2011-01-05incorporate return type and queue semantics into same paragraphCasey Duncan
2011-01-05clarify behavior of allow_duplicateCasey Duncan
2011-01-05remove redundant sentenceCasey Duncan