generated from nighthawkcoders/student
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hanr12
committed
Dec 22, 2023
1 parent
27fcb53
commit f8c1128
Showing
2 changed files
with
225 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"---\n", | ||
"toc: true\n", | ||
"comments: true\n", | ||
"layout: post\n", | ||
"title: Safe Computing\n", | ||
"description: College Board Big Idea 5.6 Safe Computing Student Lesson\n", | ||
"type: hacks\n", | ||
"courses: { compsci: {week: 15} }\n", | ||
"---" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# **Safe Computing**" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## Information Collection:\n", | ||
"Most computers and the computer systems store the information of their users. Information like your location, cookies, and browsing history which can be used to identify your personal data. \n", | ||
"\n", | ||
"- Search engines can track your search history and then they can use that to suggest websites and other search phrases that would be personal to you. This is known as target marketing \n", | ||
"- Devices, websites and networks can collect information about a user’s location such as recording the IP address of the devices they use. \n", | ||
"- Besides a specific spot on the map, certain programs can also record all the locations you've been to, how you got there, and how long you were there. \n", | ||
"\n", | ||
"A key tenet of safe computing is protecting your personally identifiable information, or (PII).\n", | ||
"\n", | ||
"### What is Personally Identifiable Information: \n", | ||
"- This information that can be used to identify you includes your \n", | ||
" - Age\n", | ||
" - Race\n", | ||
" - Phone number\n", | ||
" - Medical information\n", | ||
" - Financial information\n", | ||
" - Social security numbers" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## Benefits and Harms of Information Collection\n", | ||
"\n", | ||
"### Benefits\n", | ||
"There are quite a few benefits for websites and applications to collect their user's information. \n", | ||
"- The collection of personal information can be used to enhance your experience online. \n", | ||
" - For example, it can help you connect with friends on social media or find products you're looking for faster. \n", | ||
"- Gathering information is crucial for research and development in various fields, including science, technology, medicine, and social sciences. It helps in advancing knowledge, innovation, and the development of new technologies.\n", | ||
"- Certain applications such as TikTok's For You page rely on the collection of personal information to function. \n", | ||
"\n", | ||
"### Harms\n", | ||
"On the other hand, people are generally concerned about the rise of information collection, and with good reason. Without strong protections, this collection of information could be exploited.\n", | ||
"\n", | ||
"For example, some personal information about your location and travel routes might be used for stalking purposes. Other pieces of personal information, especially your social security number, can be used to steal your identity. Companies that collect personal information could put their users at risk if they're hit by a data breach." | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## Popcorn Hack 1\n", | ||
"What is 1 benefit and harm of information collecting?" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"answer: " | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## Think Before You Post\n", | ||
"Another type of information on the internet that might harm you is the information you put online yourself. There's potentially a lot of information you can find out about someone just by looking at their social media accounts or by combining information posted on different accounts. You might be revealing things you aren’t comfortable with by accident.\n", | ||
"\n", | ||
"As an example: Keen-eyed viewers can sometimes tell where someone lives based on a picture of the view outside of their window. \n", | ||
"\n", | ||
"Information placed online can be used in unintended ways. A nasty message or unwise post can come back to bite you if it's sent to prospective employers or college admissions officers. Thanks to the power of screenshots and forwarding, it can also be very difficult to delete information once it's out there.\n", | ||
"\n", | ||
"It's a good idea, in general, to think carefully before you put anything on the internet. When in doubt, defer to the side of caution.\n", | ||
"\n", | ||
"## Other Dangers of Computing\n", | ||
"- Your computer might become infected with a virus or a worm. A virus is a malicious program. It's called a virus because, like a real virus, it can gain unauthorized access to something and then copy itself. Viruses are attached to infected files and must be activated by the user. By contrast, worms can operate independently. \n", | ||
"\n", | ||
"In 2000, the ILOVEYOU virus, named for the fake love-letter email it attached itself to, caused over ten billion dollars of damage across the world. In 2017, the WannaCry worm attack caused a similar amount of damage by encrypting hard drive files and holding them for ransom.\n", | ||
"\n", | ||
"Computer viruses are a type of malware , short for malicious software, is intended to damage or take partial control over a computing system.\n", | ||
"\n", | ||
"Scammers online can take advantage of human error to gain potentially harmful information. Phishing, for example, works by tricking users into providing their personal information by posing as a trustworthy group. For example, you might get a fake email from someone pretending to be your bank that says your credit card or bank account has an issue and they need your username and password to fix it. \n", | ||
"\n", | ||
"\n", | ||
"The information you send over public networks, like the Wifi network at a coffee store, has the potential to be intercepted, analyzed, and modified. One of the ways this can happen is through a , a wireless access point that gives unauthorized access to a secure network. \n", | ||
"\n", | ||
"A key way to practice safe computing is to be wary. You never want to open or click any links in an email that you don't recognize the sender of. (Hackers can also gain access to people's accounts, so also be wary if you get a strange message from a friend.) Furthermore, be careful about what you download onto your devices; only download from websites you trust.\n", | ||
"\n", | ||
"Fortunately, these concerns haven't gone unnoticed, and today there are many systems in place to help protect you on the internet.\n", | ||
"\n", | ||
"# Principles of Safe Computing\n", | ||
"\n", | ||
"## Authentication\n", | ||
"measures keep people from gaining unauthorized access to your accounts. We're going to look at two of them here: making a and implementing a multi-factor method.\n", | ||
"\n", | ||
"A passphrase is a password that's easy for you to remember but difficult for someone else to guess, regardless of how well they know you. You don't want to use a generic phrase to create your password (\"password,\" \"12345,\") or something that could be easily guessed (your name, the name of your family members, etc.) Strong passwords often use a variety of characters, such as uppercase letters, numbers, and symbols (M4r13_cur13).\n", | ||
"\n", | ||
"This [website](https://www.security.org/how-secure-is-my-password/) can help you determine how strong your password is, and also highlights what makes a password weak or strong. \n", | ||
"\n", | ||
"You're mostly in charge of creating your own strong passwords, although many companies have implemented requirements for passwords to make them stronger. (They may require you to have a capital letter in your password, for example, or a symbol).\n", | ||
"\n", | ||
"On the other hand, multifactor is provided by the website you're using, although you can generally choose to opt-in or out of it. Multifactor is a way to control who gets access to your accounts by requiring multiple (at least two) methods of verification.\n", | ||
"\n", | ||
"Typically, these proofs will fall into one of three categories, and they'll usually be in two separate categories.\n", | ||
"- Knowledge: this is something you know, like a password or PIN number. This can also include verification questions. (What's your favorite food? Where were you born?)\n", | ||
"- Possession: this is something that you have or own, such as a USB drive or an access badge. This can also include one-time passwords sent to a different device like your cell phone.\n", | ||
"- Inheritance: this is something that you own intrinsically, like your fingerprints or voice. \n", | ||
"\n", | ||
"A multifactor system can provide multiple verification options for user convenience, as well as security. For example, a login system for your email account might let you choose between sending a verification code to another email or to your phone in order to get in. That way you can still get into your account even if you don't have your phone on-hand, \n", | ||
"\n", | ||
"The more layers of verification you have, the more secure your account generally is, although there are limits and exceptions to the rule.\n", | ||
"\n", | ||
"## Encryption\n", | ||
"\n", | ||
"Encryption, another way of protecting people's data, is the process of encoding data to prevent unwanted access. (Decryption is the process of decoding data.) Traditionally, encryption was used to send and receive secret messages between spies or military generals. Coding mechanisms like the Caesar Cipher and the French Great Cipher became famous.\n", | ||
"\n", | ||
"Both of these encryption methods use a key, or a secret piece of information, to keep their messages secret. Only the person the message is intended for should know the key.\n", | ||
"\n", | ||
"For example, the Caesar Cipher works by shifting all the letters in a message down or up a given alphabet. In this case, the key is the number of letters that the message is shifted by. In the image below, all the letters are shifted up by 3: E becomes B, D becomes A, and so on. Therefore, the key is 3.\n", | ||
"\n", | ||
"\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"![Caesar_cipher](https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Caesar_cipher_left_shift_of_3.svg/1200px-Caesar_cipher_left_shift_of_3.svg.png?20140119115628) \n", | ||
" " | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Today, you can use the computer to decode such simple codes quickly, and therefore more complex methods of encryption are needed.\n", | ||
"\n", | ||
"## Popcorn Hack #2\n", | ||
"Using the image above, decode this message: Zeofpqjxp fp qeb ybpq elifxyv" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"answer:" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"### Two common approaches to encryption are: \n", | ||
"- Symmetric key encryption uses one key for both encrypting and decrypting code.\n", | ||
"- asymmetric encryption uses a public key to encrypt but a private key to decrypt the message. \n", | ||
"\n", | ||
"The system relies on digital certificates. These are issued by Certificate Authorities (CAs) to trusted sites. They allow other computers to verify that a website is what it says it is. These certificates are essential to the system because they foster trust between websites. Think of the certificates to be a little like the signature on a check—once we see that signature, we know that the check is trustworthy.\n", | ||
"\n", | ||
"## Popcorn Hack #3\n", | ||
"What are the two common approaches to encryption?" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"answer: " | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"### Other Safe Computing Practices\n", | ||
"- Creating and downloading regular helps to patch up any previously undetected errors or vulnerabilities.\n", | ||
"- Computer virus and scanning software can help protect your computer from viruses and . Some famous brands are Norton and McAfee. \n", | ||
"- monitor internet traffic and block websites deemed unsafe, can also help you protect your devices.\n", | ||
"- Making of important data can help mitigate the effects of hardware failure or virus attacks.\n", | ||
"- Knowing and controlling the permissions companies have to your data can empower you to decide what you're comfortable with them having. \n", | ||
"- Keeping your devices out of unsafe locations helps prevent them from being physically stolen or hacked into. \n", | ||
"- Being aware of is also important. Free WiFi connections are often vulnerable to hackers.\n", | ||
"- Finally, stay informed! Technology is ever-changing, and staying aware of these changes will help you protect yourself." | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Homework Hacks\n", | ||
"- fill out this google form and send us a screenshot of your score\n", | ||
"- https://docs.google.com/forms/d/e/1FAIpQLScNx2gPRfqgCE5CWKfRRPtrwhqtGTpmzcyaTzFksujLf-TvVA/viewform?usp=sf_link " | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"language_info": { | ||
"name": "python" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |