something called an IP address
http://en.wikipedia.org/wiki/IP_address
a 32-bit number
that means that there are 4 bytes in an IP address
hard to remember IP addresses
DNS - domain name server
will give you IP addresses in return for domain names
hosts file in a specific folder on your computer
can use it to block web sites
scammers can use it, so nowadays, only edit as admin
Domain:
everything from the :// until the first / after that
http://www.scamsite.ru/login/www.chase.com/
http://23.123.6.5/www.chase.com/login
http://0x62.0x1F.0x11.0x44/www.chase.com/login
TLDs - top level domain
TLAs = three letter acronym
.com
.org
.net
.gov
.edu
.xxx
whitehouse.gov
countries have their own top level domain
.uk
ac.uk
co.uk
google.co.uk
google.com
subdomain
www.google.com
www is a subdomain within google.com
google.com is the "real" domain
Dr. Svitak's website
http://eniac.cs.qc.edu/~svitak/cs12/
eniac.cs is the subdomain
http://www.chase.com.gimmeyourinfo.ru/login
This is NOT really chase.com
It is a Phishing scheme
Let us pretend that my name is Joshua Waxman and my CunyFirst ID is 12345678
hostname of OUR webserver is:
cs12.cs.qc.cuny.edu
login: first two letters of YOUR last name +
first two letters of YOUR first name +
last 4 digits of your CunyFirst ID
my login: wajo5678
my password: 12345678
#1: lowercase
#2: maybe the first and lastnames are reversed
#3: it is YOUR information, not mine
#4: if it still doesn't work, see Xiuyi
HW: Go home and install WinSCP on your computer
(or Fugu / TextWrangler if you have a Mac)
Usually, web pages are stored on web server
Your web browser is called the client
When you load up a webpage by typing in a URL
you are sending an "HTTP request"
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
You type in: http://en.wikipedia.org/wiki/Main_Page
something like: GET /wiki/Main_Page http/1.1
to host: en.wikipedia.org
The webserver responds with an Http response
HTTP/1.0 200 OK
followed by the contents of the requested html page
web client receives it, and renders it
other responses:
404 Page not found
403 Forbidden
The Web is NOT the Internet
it is one of the services available on the internet
there is software called WinSCP
is windows software for editing files remotely, and file transfer
if you have a Mac, you will need Fugu instead
follow this link
http://cs12.cs.qc.cuny.edu/~xiuyi/fugu.html
If you a PC (most of you do):
http://winscp.net/eng/download.php
Make sure you don't download the Beta version
What is Beta?
What is Alpha?
make sure to get the stable version
No comments:
Post a Comment