Skip to content

Commit 13717cb

Browse files
committed
docs: add links to other pages
1 parent d827fc9 commit 13717cb

4 files changed

Lines changed: 16 additions & 10 deletions

File tree

user_guide_src/source/concepts/security.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ OWASP recommendations
3838
CodeIgniter provisions
3939
======================
4040

41-
- :doc:`HTTP library <../incoming/incomingrequest>` provides for input field filtering & content metadata
42-
- Validation library
41+
- :doc:`HTTP library <../incoming/incomingrequest>` provides for :ref:`input field filtering <incomingrequest-filtering-input-data>` & content metadata
42+
- :doc:`../libraries/validation` library
4343

4444
*********************************************
4545
A2 Weak authentication and session management
@@ -81,8 +81,8 @@ OWASP recommendations
8181
CodeIgniter provisions
8282
======================
8383

84-
- esc function
85-
- Validation library
84+
- :php:func:`esc()` function
85+
- :doc:`../libraries/validation` library
8686

8787
***********************************
8888
A4 Insecure Direct Object Reference
@@ -103,7 +103,7 @@ OWASP recommendations
103103
CodeIgniter provisions
104104
======================
105105

106-
- Validation library
106+
- :doc:`../libraries/validation` library
107107
- Easy to add third party authentication
108108

109109
****************************
@@ -144,7 +144,7 @@ OWASP recommendations
144144
CodeIgniter provisions
145145
======================
146146

147-
- Session keys stored encrypted
147+
- :doc:`Session <../libraries/sessions>` keys stored encrypted
148148

149149
****************************************
150150
A7 Missing Function Level Access Control
@@ -165,8 +165,8 @@ OWASP recommendations
165165
CodeIgniter provisions
166166
======================
167167

168-
- Public folder, with application and system outside
169-
- :doc:`Security </libraries/security>` library provides for CSRF validation
168+
- :ref:`Public <application-structure-public>` folder, with application and system outside
169+
- :doc:`Security </libraries/security>` library provides for :ref:`CSRF validation <cross-site-request-forgery>`
170170

171171
************************************
172172
A8 Cross Site Request Forgery (CSRF)
@@ -185,7 +185,7 @@ OWASP recommendations
185185
CodeIgniter provisions
186186
======================
187187

188-
- :doc:`Security </libraries/security>` library provides for CSRF validation
188+
- :doc:`Security </libraries/security>` library provides for :ref:`CSRF validation <cross-site-request-forgery>`
189189

190190
**********************************************
191191
A9 Using Components with Known Vulnerabilities
@@ -222,4 +222,4 @@ CodeIgniter provisions
222222
======================
223223

224224
- :doc:`HTTP library <../incoming/incomingrequest>` provides for ...
225-
- :doc:`Session <../libraries/sessions>` library provides flashdata
225+
- :doc:`Session <../libraries/sessions>` library provides :ref:`sessions-flashdata`

user_guide_src/source/concepts/structure.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ extend the classes, or create new classes, to provide the desired functionality.
5858

5959
All files in this directory live under the ``CodeIgniter`` namespace.
6060

61+
.. _application-structure-public:
62+
6163
public
6264
======
6365

user_guide_src/source/incoming/incomingrequest.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ You can also use ``getRawInputVar()``, to get the specified variable from raw st
173173

174174
.. literalinclude:: incomingrequest/039.php
175175

176+
.. _incomingrequest-filtering-input-data:
177+
176178
Filtering Input Data
177179
====================
178180

user_guide_src/source/libraries/sessions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ This method also accepts an array of item keys to unset:
214214

215215
.. literalinclude:: sessions/018.php
216216

217+
.. _sessions-flashdata:
218+
217219
Flashdata
218220
=========
219221

0 commit comments

Comments
 (0)