星期一, 5月 30, 2005

Lab SSL

1. Try Yam membership enrollment
for using SSL encrypted Internet communications.
2. Note the lock at the lower right corner is secured when SSL is enabled.
3. Click the lock icon and a message window should pop up.
4. What kind of encryption is used in this SSL? How many bits are there in the encryption key?
5. Who issued the certificate you are seeing? (Who is the certificate authority, CA, for this website?)
6. Until when is the certificate valid?
7. What kind(s) of hash is/are used in the CA's digital signature?
8. How many bits are there in the hash(es)?

6/6 SSL

SSL (Secure Socket Layer)
* Using Digital Certificate, Digital Signature, Public Key Encryption, Hash (Message Digest)
* Instead of encrypting the sender's original text, only the session key generated by the sender is encrypted by the receiver's public key.
* The session key is valid throughout a session and not any longer.
* SSL is proposed by Netscape, Inc.
* https is actually http enhanced by SSL. https uses port 443 while http uses port 80.

Do Lab SSL

Do Lab PGP

Do Lab PGP Part II

星期一, 5月 23, 2005

5/23 Homework

Use the following JavaScript
commands to write
a GreaseMonkey script
so that the webpage you assigned reloads itself
every 60 seconds.

setTimeout
document.location.reload()

星期四, 5月 19, 2005

Lab Clean Language

1. Save the JavaScript file of [WWW]Clean Language to your desktop. Make changes to the script with self-defined bad words. To do this, use NVU to create a HTML that contains link to the modified JavaScript on your desk top. Load the HTML file to Firefox. Install the script as Greasemonkey.

2. Use NVU to create a HTML that contains some bad words.

3. Use Firefox to view the HTML with bad words. Try whether the filtering take effects.


星期三, 5月 18, 2005

Lab Google Access Keys

1. Save the JavaScript file of [WWW]Google Access Keys to your desktop.
2. Make changes to the code the script use "/" instead of using ","
3. To do this, use NVU to create a HTML that contains link to the modified JavaScript on your desk top. The link should read as file:///C:/myPath/myJS.js
4. Load the HTML file to Firefox.
5. Uninstall the previous script and install the new script now.
6. Try whether the new access keys take effects.

星期二, 5月 17, 2005

6/6 Bonus Homework

1. Read the paper about the weak public key issue of PGP.
Is this really a problem to PGP 9.0? Why?

5/30 network secutiry and the theory of public key

Lecture on network secutiry and the theory of public key
(Chapter 3 of Textbook)

Secrect Key

*a key for encryption is also for decryption
*fast encryption and decryption
*problem with key distribution
*problem with keeping many keys

Public Key

*private key and public key
*public usually posted on an open directory
*private key must be kept in absolute private to oneself
*good for encryption and signature

Hash function
*fixed length of 128 or 256 bits
*fingerprint

do Lab Hash

Digital Signature
* privated key encrypted fingerprint of a plain text
*transmitted along with the plain text for verification

Man-in-the-middle attack

Digital Certificate
* Public Key signed with Certificate Authority



Lab Greasemonkey

  1. Install Greasemonkey 0.3.3. Check the lower right corner of your Firefox and you should find a monkey over there.

  2. Learn how to use Greasemonkey. Install the following JavaScript and answer the questions one by one.

  3. [WWW]AccessBar: displays defined accesskeys in a fixed-position bar along the bottom of the window. Added 2005-04-01 (not a joke). Find how many access keys have been defined at www.ocac.gov.tw www.epa.gov.tw
  4. Continued from 3, use google to find 3 more government sites in Taiwan that enable access keys.
  5. [WWW]Animated Firefox Download Counter: Display a counter of the number of firefox downloads in the upper right corner of pages.
  6. [WWW]Cookie Monster - Show cookie contents ver 0.1: Shows the contents of the current page cookie. Just mouse over the "Cookie" text on the bottom left. Check what cookies tw.yahoo.com and yam.com write to you. Does our class blog use cookie or not? Does Google use cookie?
  7. [WWW]Google Search Keys Numbers the results in a Google search page and you can type the corresponding number to follow the link. Updated: 2005-04-26. [WWW]more
  8. [WWW]Google Access Keys Enables navigation through Google search results using "," and ".". [WWW]more

  9. You can turn off Greasemonkey by clicking on the monkey face at your lower right corner of Firefox. Click again to activate Greasemonkey.

5/23 User Side Scripts

User Side Scripts

Greasemonkey is a Firefox extension which lets you to add bits of DHTML ("user scripts") to any web page to change its behavior. The JavaScript changes the behavior of the downloaded webpage before the page is shown on the browser.

Lab Greasemonkey

Lab Google Access Keys

Lab Clean Language

星期一, 5月 16, 2005

5/16 Homework

1. Problem 3 on Page 58
2. Problem 4 on Page 58

Lab Hello

Install Picasa

Install Hello

Use Picasa to select a picture

Use the Robot in Hello to upload the selected picture to your blog.

Go to your blog and check whether the upload is a success.

5/16 WWW Programming

WWW Programming

Server side script
* Microsoft ASP
* Java JSP

(A script is an interpreted language.)

Server Side Component
* DCOM
* Javabeans

Client Side Script
* JavaScript
* Microsoft VBScript

(Often used as pre-processing and post-processing.)

Client Side Component
*ActiveX e.g. www.iflim.com
* Java Applet
* Flash e.g. news.yam.com

Client Side Applications
* Standalone Applications e.g. Hello

Repeat Lab Tongwen in class

Do Lab Hello

Recent development

星期二, 5月 10, 2005

Lab Hash

1. Install SlavaSoft HashCalc
2. Open the file readme.txt of this software
3. Calculate the cash.
4. Open another copy of HashCalc
5. Open the file readme.txt and delete the first space fo the file.
6. Calculate the hash of the modified file.
7. Compare the hashes of two files.

Recent development

Mass Parallel Computing
Grid Computing

Digital Divide
MotoCycle+WiFi=Motoman

Wireless Foresight
NTT DoCoMo Vison 2010

Related report

Electronic Commerce
Sec. 2.2, 3.3

Demo
1. Business Travel
2. e-Ticketing

星期一, 5月 09, 2005

5/9 Homework

Reading Assignments:
Read Chapter 3.1 & 3.2

Homework
1. Problem 3.1
2. Problem 3.2
3. Do lab Tongwen

Lab Tongwen

Install Tongwen 同文堂


1. Go to Firefox Top 15 downloads
2. Install Tongwen
3. Visit Sina.cn
4. Convert Simplified Chinese into Traditional Chinese

Lab A9

1. Go to a9.com
2. Sign up and get a personal account.
3. Do some keyword search.
4. Retrieve your search history.
5. Install a9 toolbar. Sign in this toolbar.
6. Use this toolbar and take notes on your search results.
7. Use this toolbar to make portable bookmarks.

Lab Scupio

1. Go to search by context Scupio
2. Try enter the following excerpt

目前有部份智慧型手機支援雙網( GSM + WiFi ),手機本身內建的 MSN Messenger,可透過 WiFi 上網

3. Do the same search at Google. And compare the search results.

4. Do this lab again using your own input excerpts. Compare Scupio with Google.

5/9 Personalization

Personalization

personalized content
* tone & manner
* drag-and-drop template
* personalized subject
* personalized subscription

do Lab Personalization

personalized search
* find by context
do Lab Scupio
* Personalize the search results
do Lab a9

Lab Personalization

1. Go to Google News
2. Add a new category from standard subjects
3. Try to relocate the news category to a new place
4. Delete this news category.
5. Add a new category with your personal subject. You must enter a keyword centric to this news category.
6. Try to relocate the news category to a new place

星期一, 5月 02, 2005

5/2 Homework

Do Problems 1, 2, & 3 of Chapter 2, Textbook.

Reading Assignment:
Read Chapter 3 of Textbook.