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)?
2005年5月30日 星期一
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
* 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
2005年5月28日 星期六
2005年5月23日 星期一
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()
2005年5月19日 星期四
Lab Clean Language
1. Save the JavaScript file of 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.
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.
2005年5月18日 星期三
Lab Google Access Keys
1. Save the JavaScript file of 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.
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.
2005年5月17日 星期二
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?
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
(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
Install Greasemonkey 0.3.3. Check the lower right corner of your Firefox and you should find a monkey over there.
Learn how to use Greasemonkey. Install the following JavaScript and answer the questions one by one.
- 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
- Continued from 3, use google to find 3 more government sites in Taiwan that enable access keys.
- Animated Firefox Download Counter: Display a counter of the number of firefox downloads in the upper right corner of pages.
- 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?
- 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. more
-
Google Access Keys Enables navigation through Google search results using "," and ".". more
- 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
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
2005年5月16日 星期一
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.
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
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
2005年5月10日 星期二
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.
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
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
2005年5月9日 星期一
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.
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
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
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
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
2005年5月2日 星期一
5/2 Homework
Do Problems 1, 2, & 3 of Chapter 2, Textbook.
Reading Assignment:
Read Chapter 3 of Textbook.
Reading Assignment:
Read Chapter 3 of Textbook.
訂閱:
文章 (Atom)