• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 18 páginas
Examen

Secure Coding Final Exam Questions And Answers 2026-27

Document preview thumbnail
Vista previa 3 fuera de 18 páginas

SECURE CODING FINAL EXAM QUESTIONS AND ANSWERS 2026-27

Vista previa del contenido

1



SECURE CODING FINAL EXAM QUESTIONS AND
ANSWERS 2026-27 LATEST UPDATED STUDY GUIDE


What are the two high-level approaches to make web apps stateful? -
1. Set session IDs (SIDs)
2. Use web-app framework to send state to client and have client send
state back to server.

Examples of why states are good in client/server model: - Banking,
online shopping carts

Client state manipulation - Web app attacks in which an attacker
modifies a state stored on the client and returns to the server

,2


Defend against client state manipulation: - 1. Keep states on server side
(send client SID)
2. Send state to client using cryptography to enforce state integrity

Session hijacking - An attack in which an attacker attempts to
impersonate the user by using his SID

Session-fixation attack - Attacker tricks the user to access a genuine
web server using an explicit session ID value, and then the attacker
assumes the identity of the victim and exploits their credentials at the
server.

Defenses against session attacks - 1. Dont put SIDS in URLs (Instead,
use POST variables)
2. Expire SIDs
3. Hash SIDS and client info
4. Use cookies


Cookies - A state passes between communicating processes.

Server can set SID cookies (e.g by returning for the confirmation page)

XSRF - Cross-Site Request Forgery (similar to confused deputy)

Attack in which a privileged client (victim) sends a request (i.e transfer
$) on behalf of a less privileged 3rd party (attacker)

XSRF Defenses - 1. Server may confirm/reauthenticate user before
satisfying sensitive requests
2. Server embeds a hidden, hard to guess (cryptograph) token in all
HTML forms and only satisfies requests with the proper tokens

Proper tokensq - Request comes from returned webpage, not attacker

OWASP top 10 - Open web app security project

, 3


Database - Organized collection of data

DBMS - software for managing the database

Relational Database - Data is organized into tables (i.e. relations) of
rows and columns with a unique key identifying each row

Logical schema - Defines types and names

Physical schema - Defined data layout

Información del documento

Subido en
12 de septiembre de 2026
Número de páginas
18
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$28.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Vendido
68
Seguidores
13
Artículos
2781
Última venta
2 días hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes