COMPSCI 169 Lecture 11: Lecture 11 - Authentication and Associations.pdf

73 views2 pages

Document Summary

1 sheet both sides cheat sheet (typed or handwritten) There are questions that will build off the homework (up to homework 2) 1. 5 hour test in 3 hour window. Regex reference may be useful for the cheat sheet though. Advice: specific piece of code that implements cross-cutting concern. These will help dry out your code. Filters declared in controller go to subclass. Can alter the flow of execution with redirect_to or render . Make sure you alert the user (like must be logged in to view this page ) or else a silent failure may confuse them. Anything you can code, you can validate. Con: code is harder to debug with all these pointcuts and redirects! You don"t want to rely on log in info. Tamper-evident secure token to keep everything secure. Use a string that will be invalid if views. Just a handle , it doesn"t actually have important information in it.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers