You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/publish/customization/iframe.rst
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,16 @@ It's possible to embed Lizmap in another webpage by using a iframe. We suggest y
12
12
13
13
For instance, use this URL : ``/index.php/view/embed/?repository=my_repo&project=my_project``.
14
14
15
+
Configuration
16
+
-------------
17
+
18
+
To prevent security issues, you need to explicitly declare websites allowed to embed your Lizmap iframe.
19
+
Fill the :guilabel:`List of websites allowed to embed iframe` field that can be defined for each the repository in :guilabel:`Maps management`.
20
+
21
+
.. warning::
22
+
23
+
Ensure the ``referrer`` is provided to the iframe (you can use the ``referrerpolicy`` attribute : ``<iframe src="....." referrerpolicy="strict-origin-when-cross-origin" ></iframe>`` )
0 commit comments