
WEEK 9–10: CodeIgniter Security Practices
Authored by Darwin Vargas
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of user authentication in a web application?
To encrypt user data
To create user profiles
To verify the identity of users
To improve performance
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method adds an extra layer of authentication security by requiring more than one verification factor?
Social Login
CAPTCHA
Multi-Factor Authentication (MFA)
Single Sign-On (SSO)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to enable CSRF protection in CodeIgniter?
csrf_protection = false in config.php
Add CSRF token to URL
Set 'csrf_protection' => TRUE in config.php
Use session flash data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in CodeIgniter can be used to add a CSRF token to a form?
csrf_token()
form_token()
form_hidden()
csrf_input()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main function of Role-Based Access Control (RBAC)?
Speed up application loading
Manage database backups
Grant access based on user roles
Encrypt communication
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the safest way to handle SQL queries in CodeIgniter?
Manual string concatenation
Inline SQL
Prepared statements
GET parameters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the xss_clean() function in CodeIgniter?
Encrypt user passwords
Prevent SQL injection
Remove cross-site scripting threats
Format database queries
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Unguided transmission media
Quiz
•
University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
20 questions
STM 2013 : FORMATIF T3-FORM & REPORT
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
Perangkat komputer
Quiz
•
University
20 questions
DWDM-2
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade