Quiz
7.2 Developing Secure Code for TYPO3
Fragen in diesem Quiz (6)
1Which of the following terms refer to security vulnerabilities in software? (3)
- AScalar type declaration
- BCross-site scripting (XSS)
- CBounded context
- DAuthentication bypass (or broken authentication)
- EFalse vacuum theory
- FInjection flaws
2Is it possible to output form fields dynamically (e.g. with JavaScript) in an action? (1)
- AThis is not possible for security reasons
- BThis is possible, but requires the addition of an annotation @dontverifyrequesthash to the
target action - CThis is possible, but requires the addition of an annotation @ignorevalidation to the target
action - DThis is possible, but requires the addition of an annotation @dontvalidate to the target action
- EThis is possible by activating the TypoScript option persistence.enableDynamicForms
3Which of the following ViewHelpers check whether a frontend user is logged-in and is a member of the group
“news” (UID = 5)? (2)- A<f:if condition="{TSFE.loginUser.group == 5}">.
- B<f:security.ifHasRole role="5">
- C<f:security.ifHasRole role="news">
- D<f:security.ifAuthenticated>
- E<f:security.loginUser group_id="5">
4Which statements about security in Fluid are correct? (2)
- AFluid applies htmlspecialchars() when HTML content of a variable is output
- BFluid automatically removes all HTML tags if the content of a variable contains HTML code
- CTo protect users against XSS attacks, an exception is triggered if a variable contains HTML
code - DThe FormatRaw-ViewHelper (<f:format.raw>) can be used to output the content of variables unfiltered
- EAll HTML code should be passed to the FormatHtml-ViewHelper (<f:format.html>) for
security reasons
5What is the purpose of the “FormProtectionFactory”? (1)
- AProtection against SQL injections
- BProtection against man-in-the-middle attacks
- CProtection against cross-site scripting (XSS) attacks
- DProtection against cookie theft
- EProtection against cross-site request forgery (CSRF)
6Which methods sanitize variables for the QueryBuilder and make the value SQL injection safe for prepared statements? (3)
- AThe method quoteIdentifier()
- BThe method quoteIdentifiers()
- CThe method sanitizeValue()
- DThe method createNamedParameter()
- EThe method secureQuery()
Informationen
- Beschreibung
- Der Nutzer hat seine Fachbereichs-Information gelöscht. Quiz am 7.2 Developing Secure Code for TYPO3, erstellt von Gelöschter Nutzer am 27/04/2022.
- Autor
- Gelöschter Nutzer
- Sprache
- English
- Aufrufe
- 17
- Verlauf
- Erstellt am 27 Apr 2022 · aktualisiert am 27 Apr 2022
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz