This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dev:284:security [24.03.2016 21:05] – [::getIDKEY] translated mrbaseman | en:dev:284:security [24.03.2016 21:41] (current) – finished translation and removed fixme mrbaseman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
| - | |||
| ====== System Security ====== | ====== System Security ====== | ||
| (A whole package of individual elements. From password encryption to measurements to protect against cross-site scripting.) | (A whole package of individual elements. From password encryption to measurements to protect against cross-site scripting.) | ||
| Line 65: | Line 63: | ||
| === :: | === :: | ||
| **Prototype: | **Prototype: | ||
| - | * **// | + | * **// |
| - | * **// | + | * **// |
| === :: | === :: | ||
| **Prototype: | **Prototype: | ||
| - | Ein übergebener Integer-Wert wird auf eine verfügbare Intervallstufe zwischen | + | The supplied integer value is corrected to an available interval between |
| === :: | === :: | ||
| **Prototype: | **Prototype: | ||
| - | Gibt ein Array mit folgenden Schlüsseln zurück: | + | Returns an array with the following keys: |
| - | ^Schlüssel | + | ^Key ^ Description |
| - | | min | minimale Lebensdauer | + | | min | minimum lifetime |
| - | | max | maximale Lebensdauer | + | | max | maximum lifetime |
| - | | step | Schrittweite | + | | step | Increment |
| - | | value| | + | | value| |
| - | Wozu werden diese Werte benötigt? An das Template übergeben, lässt sich z.B. eine Fortschrittsanzeige realisieren, | + | What are these values needed for? Transfered to the template, one can for instance implement a progress bar that visually displays the time until timeout. |
| ---- | ---- | ||
| - | ==== Anwendungsbeispiele | + | ==== Examples |
| - | :!: **Achtung:** Requests | + | :!: **Warning** Requests |
| - | === Formular | + | === Form === |
| <PHP> | <PHP> | ||
| $sOutput = '< | $sOutput = '< | ||
| Line 92: | Line 91: | ||
| echo $sOutput; | echo $sOutput; | ||
| - | // Auswertung | + | // Evaluation |
| - | if ($oReg-> | + | if ($oReg-> |
| $iRecordId = $oReg-> | $iRecordId = $oReg-> | ||
| Line 104: | Line 103: | ||
| echo $sOutput; | echo $sOutput; | ||
| - | // Auswertung | + | // Evaluation |
| - | if ($oReg-> | + | if ($oReg-> |
| $iRecordId = $oReg-> | $iRecordId = $oReg-> | ||
| Line 121: | Line 120: | ||
| twig-template | twig-template | ||
| - | // Beispiel | + | // Example |
| < | < | ||
| < | < | ||
| Line 128: | Line 127: | ||
| </ | </ | ||
| - | // Beispiel | + | // Example |
| - | <a href=" | + | <a href=" |
| </ | </ | ||
| <PHP> | <PHP> | ||
| save-script | save-script | ||
| - | // Beispiel | + | // Example |
| if ($oReg-> | if ($oReg-> | ||
| $record_id = $oReg-> | $record_id = $oReg-> | ||
| [...] | [...] | ||
| } | } | ||
| - | // Beispiel | + | // Example |
| if ($oReg-> | if ($oReg-> | ||
| $record_id = $oReg-> | $record_id = $oReg-> | ||