Computer Science 180
Web Design
Fall 2011, Siena College
Lecture 20: Web Security
Date: Wednesday, November 16, 2011
Agenda
- Announcements
- Design Projects
- Meet to finalize your grading contracts by Friday
- Exam 2 information
- Exam during lab time next week, meet in RB 330
- Focus on topics after exam 1, up to Lecture 19 topics
- Time will be reserved during our class meeting on Friday
for review (including going over all lab assignments)
- Format: closed book other than reference material provided
(references for HTML form elements, JavaScript events, regular
expressions)
- Exam 2 topics and possible questions
- HTML form elements
- Possible questions involve proper form organization,
knowing the HTML tags used to create form elements, placing
them into formsets, drawing what a given form would look
like when rendered in a browser and providing HTML for a
form given a description or picture. Focus will be on the
elements we have used regularly rather than on obscure ones.
- JavaScript basics and event-driven programming model
- Possible questions involve writing simple functions that
handle events, and attaching those to HTML elements, looking
up HTML elements by id, using the innerHTML and
style properties to modify the appearance of HTML
elements through JavaScript, the use of parameters and
variables.
- Retrieving values from form elements with JavaScript
- Possible questions involve writing functions to extract
values from form elements or explaining what a given
function will do for a specific form with given values.
- JavaScript-based form validation
- Possible questions involve writing and using functions
that check for the existence of input and checking for
validity of that input. Focus will be on the techniques we
used repeatedly in class examples and lab assignments. This
includes basic regular expressions.
- Web search
- Possible questions involve how text and image search
engines work, from web crawlers for index creation and
update to ranking pages for presentation in a search result
list. There will be an example of a small "web" for which
you will need to apply the PageRank algorithm for a few
steps. Bring a calculator!
- Lecture assignment 19 recap
- Web security
- Knowing if the user of your site is a human: CAPTCHAs
- Using this for some good: reCAPTCHA
No New Lecture Assignment
Links