Skip to content

Commit e8a1370

Browse files
committed
add CSRF glossary entry
1 parent a299a00 commit e8a1370

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs/glossary.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ cookiecutter-plone-starter
3434
cookiecutter-zope-instance
3535
[cookiecutter-zope-instance](https://github.com/plone/cookiecutter-zope-instance) is a cookiecutter template to create a full and complex configuration of a Zope WSGI instance.
3636
37+
CSRF
38+
Cross-Site Request Forgery
39+
Cross-Site Request Forgery (CSRF or XSRF) is a type of web attack that allows an attacker to send malicious requests to a web application on behalf of a legitimate user.
40+
The attack works by tricking the user's web browser into sending a request to the web application that the user did not intentionally make.
41+
This can allow an attacker to perform actions on the web application without the user's knowledge or consent.
42+
In Plone, CSRF protection is done almost transparently by [`plone.protect`](https://pypi.org/project/plone.protect/).
43+
3744
CSS
3845
Cascading Style Sheets (CSS) is a stylesheet language used for describing the (most of the times visual) representation of web pages.
3946
@@ -365,7 +372,7 @@ Internationalization
365372
Developers and template authors usually internationalize the application.
366373
"i18n" is shorthand for "internationalization" (the letter "I", 18 letters, the letter "N").
367374
Plone is fully internationalized.
368-
375+
369376
```{seealso}
370377
{term}`localization`
371378
```
@@ -390,7 +397,7 @@ language tag
390397
A language tag is a string used as an identifier for a language.
391398
A language tag may have one or more subtags.
392399
The basic form of a language tag is `LANGUAGE-[SUBTAG]`.
393-
400+
394401
```{seealso}
395402
- W3C article [Language tags in HTML and XML](https://www.w3.org/International/articles/language-tags/)
396403
- W3C Working Draft [Language Tags and Locale Identifiers for the World Wide Web](https://www.w3.org/TR/ltli/)
@@ -434,7 +441,7 @@ react-intl
434441
A library that is part of [Format.JS](https://formatjs.io/docs/getting-started/installation) which helps developers set up their applications for internationalization.
435442
436443
WSGI
437-
The Web Server Gateway Interface (WSGI, pronounced _WIZ-ghee_) is a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language.
444+
The Web Server Gateway Interface (WSGI, pronounced _WIZ-ghee_) is a simple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language.
438445
439446
ZEO
440447
[ZEO](https://zeo.readthedocs.io/en/latest/) is a client-server storage for ZODB for sharing a single storage among many clients.
@@ -518,7 +525,7 @@ Factory Type Information
518525
- Whether discussion is enabled.
519526
- Providing the `factory_type_information` dictionary.
520527
This is used elsewhere in the code (often in `__init__.py` of a product) to set the initial values for a ZODB Factory Type Information object (an object in the `portal_types` tool).
521-
528+
522529
```{seealso}
523530
[`FactoryTypeInformation` class source code](https://github.com/zopefoundation/Products.CMFCore/blob/361a30e0c72a15a21f88433b8d5fc49331f36728/src/Products/CMFCore/TypesTool.py#L431)
524531
```

0 commit comments

Comments
 (0)