Thursday, 28 August 2014

HOME MADE FAMOUS AMOS CHOCHOLATEE CIPS!



Ingredients

- 250g butter
- 1/4 cup desiccated coconut
- 1/3 cup granulated sugar
- 1/2 cup brown sugar
- 2 eggs
- 1 teaspoon vanilla essence
- 1 1/2 cup plain flour
- 1 1/2 cup grounded oatmeal
- 1/2 teaspoon salt
- 1 teaspoon baking soda
- 1 teaspoon baking powder
- 200g Chocolate chips
- 200g Cadbury Milk Chocolate bar, grated

Method 
Preheat oven at 200 degC. 
Cream the butter and both sugars with an electric mixer. 
Add eggs and vanilla essence, mix well. 
Fold in flour, oatmeal, coconut, salt, baking powder, and soda. 
Add chocolate chips, grated chocolate bar. Mix well with a spatula. 
Spoon dough by teaspoon, leave 2 inches apart to allow to spread. (rolling is not possible ; dough wet) 
Bake at 200 degC for 12-15 minutes, or until golden brown. 


HAPPY TRYING AND HAPPY EATING!

SECURITY CODE ( PART 3 )

2.CREDIT CARD SECURITY CODES

The security code helps validate that the customer placing the online order actually has the credit card in his/her possession, and that the credit/debit card account is legitimate




LOCATION
Look for the 4-digit code printed on the front of your card just above and to the right of your main credit card number. This 4-digit code is your Card Identification Number (CID). The CID is the four-digit code printed just above the Account Number.

HOW IT PROTECT?
-The security code is only printed the card and it is not contained in the magnetic stripe information nor does it appear on sales receipts or billing statements - you must have the card in your possession in order to use this code.
-Card Security Codes are not raised, so they are not scanned into standard credit card readers.
-In theory, these numbers are only visible to you. 
-When you give your Card Security Code to a merchant, you assist the merchant in verifying that the order is being placed by you, the card holder.
-Preventing onlline scams

3. SOCIAL SECURITY CODE

Divided into three parts: the area, the group and the serial number. Two of those three parts can tell an F&I manager how long ago the number was issued, and in which state. Just make sure to ask customers where and when they think their number was issued. There are also several Websites available to dealers that can help determine whether a Social Security number is phony or not.



1. The first three digits (the area number) of a SSN are determined by the state where the number was issued. You can get the state-assigned list for each 3-digit origination code. Ask customers what state they lived in when their Social Security number was issued. If a customer's answer doesn't match the 3-digit numbers for that state, beware.

2. Within each area, the group number (middle two digits) ranges from 01 to 99. However, this range is not assigned in consecutive order. For administrative reasons, two-digit numbers issued first consist of odd numbers from 01 to 09, followed by even numbers from 10 through 98 within each area number allocated to each state. After all numbers in odd groups and even groups of a particular area have been issued, the even groups 02 through 08 are used, followed by odd groups 11 through 99. For example, someone whose middle two digits are 07 should be much older than someone whose middle digits are 95. That's because someone who is younger would have a higher number, due to the fact that the smaller numbers were already issued. Each month the Social Security Administration updates the “High Group List” of two-digit numbers on its Website.

3. The last four digits are assigned consecutively from 0001 through 9999 within each area and group sequence. They do not provide any meaningful information about a person to verify his or her identity.

BENEFIT SECURITY CODE

1.Learn "good computing security practices."
2.Incorporate these practices into your everyday routine. Encourage others to do so as well.
3.Report anything unusual - Notify the appropriate contacts if you become aware of a suspected security incident



DISADVANTAGES SECURITY CODES

1.Risk to security and integrity of personal or confidential information
Example - identity theft, data corruption or destruction, unavailability of critical information in an emergency, etc.

2.Loss of valuable business information


REFERENCES

SECURITY CODES ( PART 2 )

PERSONAL COMPUTER SECURITY CHECKLIST 

In order to make sure our computers are secured, here are the computer security checklist to follow :

-Do not eat, drink or smoke near the computer
-Do not place the computer near open windows or doors
-Do not subject the computer to extreme temperatures
-Clean the equipment regularly
-Place a cable lock on the computer
-Use a surge protector
-Store disks properly in a locked container
-Maintain backup copies of all files

FUNCIONAL VIEW

Computer security can also be analyzed by function. It can be broken into five distinct functional areas :

Risk avoidance 
-A security fundamental that starts with questions like: Does my organization or business engage in activities that are too risky? Do we really need an unrestricted Internet connection? Do we really need to computerize that secure business process? Should we really standardize on a desktop operating system with no access control intrinsics?

Deterrence
-Reduces the threat to information assets through fear. Can consist of communication strategies designed to impress potential attackers of the likelihood of getting caught.

Prevention
-The traditional core of computer security. Consists of implementing safeguards like the tools covered in this book. Absolute prevention is theoretical, since there's a vanishing point where additional preventative measures are no longer cost-effective.

Detection
-Works best in conjunction with preventative measures. When prevention fails, detection should kick in, preferably while there's still time to prevent damage. Includes log-keeping and auditing activities

Recovery 
-When all else fails, be prepared to pull out backup media and restore from scratch, or cut to backup servers and net connections, or fall back on a disaster recovery facility. Arguably, this function should be attended to before the others

SECURITY DOMAINS

Computer security is also frequently defined in terms of several interdependent domains that roughly map to specific departments and job titles:

Physical security
-Controlling the comings and goings of people and materials; protection against the elements and natural disasters

Operational/procedural security
-Covering everything from managerial policy decisions to reporting hierarchies

Personnel security
-Hiring employees, background screening, training, security briefings, monitoring, and handling departures

System security
-User access and authentication controls, assignment of privilege, maintaining file and filesystem integrity, backups, monitoring processes, log-keeping, and auditing

Network security
-Protecting network and telecommunications equipment, protecting network servers and transmissions, combatting eavesdropping, controlling access from untrusted networks, firewalls, and detecting intrusions

VULNERABILITIES
To understand the techniques for securing a computer system, it is important to first understand the various types of "attacks" that can be made against it. These threats can typically be classified into one of these seven categories:

1.Backdoors
-A backdoor in a computer system, a cryptosystem or an algorithm, is a method of bypassing normal authentication, securing remote access to a computer, obtaining access to plain text, and so on, while attempting to remain undetected. 

2.Denial-of-service attack
-Unlike other exploits, denial of service attacks are not used to gain unauthorized access or control of a system. They are instead designed to render it unusable. Attackers can deny service to individual victims, such as by deliberately entering a wrong password enough consecutive times to cause the victim account to be locked, or they may overload the capabilities of a machine or network and block all users at once. These types of attack are, in practice, very hard to prevent, because the behavior of whole networks needs to be analyzed, not only the behavior of small pieces of code.

3.Direct access attacks
-Someone who has gained access to a computer can install different types of devices to compromise security, including operating system modifications, software worms, key loggers, and covert listening devices. 

4.Eavesdropping
-Eavesdropping is the act of surreptitiously listening to a private conversation, typically between hosts on a network. sions generated by the hardware such as TEMPEST.

5.Exploits
-An exploit (from the same word in the French language, meaning "achievement", or "accomplishment") is a piece of software, a chunk of data, or sequence of commands that take advantage of a software "bug" or "glitch" in order to cause unintended or unanticipated behavior to occur on computer software, hardware, or something electronic (usually computerized).

6.An indirect attack
-is an attack launched by a third-party computer. By using someone else's computer to launch an attack, it becomes far more difficult to track down the actual attacker. There have also been cases where attackers took advantage of public anonymizing systems, such as the tor onion router system.

SECURITY CODES ( PART 1 )

Assalamualaikum! I will share with you the topic of Security Codes!

DEFINITION SECURITY CODE

-A numeric code (password) used to prevent unauthorized or accidental alteration of data programmed into wireless phones. The security code can be used by the owner of a phone to change the lock code.
-A code provided by the gaining registrar to a domain name's administrative contact email address. It verifies to the gaining registrar that the domain name's owner requested the transfer of the domain name.

1.COMPUTER SECURITY CODES
It is designed to protect the confidentiality, integrity and availability of computer system data from those with malicious intentions. Confidentiality, integrity and availability are sometimes referred to as the CIA Triad of information security.

SECURITY GOALS

We use the term "security" in many ways in our daily lives. A "security system" protects our house, warning the neighbors or the police if an unauthorized intruder tries to get in. "Financial security" involves a set of investments that are adequately funded and we hope the investments will grow in value over time so that we have enough money to survive later in life. And we speak of children's "physical security," hoping they are safe from potential harm. Just as each of these terms has a very specific meaning in the context of its use, so too does the phrase "computer security."

When we talk about computer security, we mean that we are addressing three important aspects of any computer-related system: confidentiality, integrity, and availability.
Confidentiality- Ensures that computer-related assets are accessed only by authorized parties. That is, only those who should have access to something will actually get that access. By "access," we mean not only reading but also viewing, printing, or simply knowing that a particular asset exists. Confidentiality is sometimes called secrecy or privacy.
Integrity- Assets can be modified only by authorized parties or only in authorized ways. In this context, modification includes writing, changing, changing status, deleting, and creating.
Availability- Assets are accessible to authorized parties at appropriate times. In other words, if some person or system has legitimate access to a particular set of objects, that access should not be prevented. For this reason, availability is sometimes known by its opposite, denial of service.

TYPES OF COMPUTER SECURITY 

Three types of computer security are: 

1.HARDWARE SECURITY 


Hardware security refers to security measures used to protect the hardware specifically the computer and its related documents. 

The examples of security measures used to protect the hardware include PC-locks, keyboard-locks, smart cards and biometric devices. 

2.SOFTWARE AND DATA SECURITY 

Software and data security refers to the security measures used to protect the software and the loss of data files. 

Examples of security measures used to protect the software are activation code and serial number.
An example of security measure used to protect the loss of data files is the disaster recovery plan method. The idea of this plan is to store data, program and other important documents in a safe place that will not be affected by any major destruction.

3.NETWORK SECURITY 


The transfer of data through network has become a common practice and the need to implement network security has become significant.   
Network security refers to security measures used to protect the network system.

One example of network security measures is firewall. With firewall, network resources can be protected from the outsiders. 



HYPER TEXT TRANSFER PROTOCOL ( PART 3 )

Assalamualaikum and lets begin with the last part of HTTP!

HTTP VERSION

-HTTP uses a "<major>.<minor>" numbering scheme to indicate versions of the protocol.
-The protocol versioning policy is intended to allow the sender to indicate the format of a message and its capacity for understanding further HTTP communication, rather than the features obtained via that communication.

-No change is made to the version number for the addition of message components which do not affect communication behavior or which only add to extensible field values. 
- The <minor> number is incremented when the changes made to the protocol add features which do not change the general message parsing algorithm, but which may add to the message semantics and imply additional capabilities of the sender. 
-The <major> number is incremented when the format of a message within the protocol is changed.
 -Proxy and gateway applications must be careful in forwarding requests that are received in a format different than that of the application's native HTTP version.
-Since the protocol version indicates the protocol capability of the sender, a proxy/gateway must never send a message with a version indicator which is greater than its native versio
-Requests with version lower than that of the application's native format may be upgraded before being forwarded the proxy/gateway's response to that request must follow the server requirements

EIGHT DIFFERENT METHODS

HTTP actually identifies eight different methods which indicate what the desired action is and what action should be performed. 


1.HEAD
-Asks for the material in a GET request, but without the response body.
The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. 


2.GET
Requests the representation of a specified source with a response body.

3.POST
Submits the data to be processed from an HTML form to the identified source. It
 used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line. POST is designed to allow a uniform method to cover the following functions:

- Annotation of existing resources
- Posting a message to a bulletin board, newsgroup, mailing list, 
or similar group of articles;
- Providing a block of data, such as the result of submitting a form, to a data-handling process
- Extending a database through an append operation.

4.PUT

Uploads a representation of the source that has been specified.
 PUT method requests that the enclosed entity be stored under the supplied Request-URL. If the Request-URL refers to an already existing resource, the enclosed entity SHOULD be considered as a modified version of the one residing on the origin server. If the

5.DELETE
Deletes a specific source. 
The DELETE method requests that the origin server delete the resource identified by the Request-URI. This method MAY be overridden by human intervention (or other means) on the origin server. The client cannot be guaranteed that the operation has been carried out, even if the status code returned from the origin server indicates that the action has been completed successfully.

6.TRACE
This echoes back a specific request so that the user can see what servers are adding or changing the request. The TRACE method is used to invoke a remote, application-layer loop-
back of the request message. 

7.OPTIONS
Used the check the functionality of a web server by returning the HTTP methods that the server supports for a specified URL.The OPTIONS method represents a request for information about the 
communication options available on the request/response chain

8.CONNECT
Facilitates SSL-encrypted communication through an unencrypted HTTP proxy by converting the request connection to a transparent TCP/IP tunnel.
This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel.

ADVANTAGES

1.Same as HTTP, only encrypted for security purposes.

HTTPS (Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL) is a Web protocol built into its browser that encrypts and decrypts user page requests as well as the pages that are returned by the Web server and developed by Netscape. HTTPS is really just the use of the Netscape’s Secure Socket Layer (SSL) as a sublayer under its regular HTTP application layering.

2. Well defined standard that is fairly easy to write clients and servers for

3. Interoperable, cross-platform, cross-language, ubiquitous

4. Caching, proxies, load balancing... there are lots of well-known and fairly easy ways to scale systems built around HTTP

5. the most used method [GET] is the most optimized, and the 1.1 protocol goes to great lengths to define how intermediate systems can cache objects -- following the HTTP principles gives you a lot of leverage to design your system to achieve maximum performance

6. The GET, PUT, and DELETE operations are just like the actions I end up coding over and over in Stateless Session facades for Data Transfer Objects...

7. human and machine readable, just like XML (at least XML used to be)

DISADVANTAGES

1. Plain text headers are somewhat inefficient (message bodies can be compressed and returned with a "Content-Encoding: gzip" entity header)risks:

2. Corruption of the protocol by avoiding the core verbs (web services are too POST-centric for me)

3. Web browser mentality: to really understand HTTP, stop thinking of browsers and servers, since browsers really only do GET and POST, most people aren't aware that PUT and DELETE are verbs they could be using...

HTTP vs. HTTPS

With HTTP, the Web page is transmitted without any encryption. However, HTTPS (HTTP Secure) is used to encrypt sensitive data such as credit card and social security numbers.

CREDIT 1

CREDIT 2

HYPER TEXT TRANSFER PROTOCOL (PART2)

Assalamaualaikum! Continue with the Second session of HTTP. Lets begin!


HTTP SESSION
-An HTTP session is a sequence of network request-response transactions. An HTTP client initiates a request by establishing a Transmission Control Protocol (TCP) connection to a particular port on a server (typically port 80; see List of TCP and UDP port numbers).
-An HTTP server listening on that port waits for a client's request message. Upon receiving the request, the server sends back a status line, such as "HTTP/1.1 200 OK", and a message of its own. The body of this message is typically the requested resource, although an error message or other information may also be returned.[1]

REQUEST MESSAGE

The request message consists of the following:

-A request line, for example GET /images/logo.png HTTP/1.1, which requests a resource called /images/logo.png from the server.
-Request header fields, such as Accept-Language: en
-An empty line.
-An optional message body.

The request line and other header fields must each end with <CR><LF> (that is, a carriage return character followed by a line feed character). The empty line must consist of only <CR><LF> and no other white space .In the HTTP/1.1 protocol, all header fields except Host are optional.

A request line containing only the path name is accepted by servers to maintain compatibility with HTTP clients before the HTTP/1.0 specification

RESPONSE MESSAGE

The response message consists of the following:

-A Status-Line, which include the status code and reason message. (e.g., HTTP/1.1 200 OK, which indicates that the client's request succeeded)
-Response header fields, such as Content-Type: text/html
An empty line
An optional message body

The Status-Line and other header fields must all end with <CR><LF> (a carriage return followed by a line feed). The empty line must consist of only <CR><LF> and no other white space.

HTTP SESSION STATE
HTTP is a stateless protocol. A stateless protocol does not require the HTTP server to retain information or status about each user for the duration of multiple requests. However, some web applications implement states or server side sessions using for instance HTTP cookies or Hidden variables within web forms.

STATUS CODES

-In HTTP/1.0 and since, the first line of the HTTP response is called the status line and includes a numeric status code (such as "404") and a textual reason phrase(such as "Not Found").
-The way the user agent handles the response primarily depends on the code and secondarily on the other response header fields. Custom status codes can be used since, if the user agent encounters a code it does not recognize, it can use the first digit of the code to determine the general class of the response.
-The standard reason phrases are only recommendations and can be replaced with "local equivalents" at the web developer's discretion. If the status code indicated a problem, the user agent might display the reason phrase to the user to provide further information about the nature of the problem. 
-The standard also allows the user agent to attempt to interpret the reason phrase, though this might be unwise since the standard explicitly specifies that status codes are machine-readable and reason phrases are human-readable. 
-HTTP status code is primarily divided into five groups for better explanation of request and responses between client and server as named: Informational 1XX, Successful 2XX, Redirection 3XX, Client Error 4XX and Server Error 5XX.

Wednesday, 27 August 2014

BUS NETWORK ( PART 3 )


The Advantages of Bus Network :
a) It requires less no. of cables. So cable cost is not high.
b) It is easy to implement.
c) It is easy to set-up and extend bus network.
d) Cable length required for this topology is the least compared to other networks.
e) Bus topology costs very less.
f) Linear Bus network is mostly used in small networks. Good for LAN.

The Disadvantages of Bus Network :


a) A single break in the wire will stop the connection of other computers too.
b) The troubleshooting is difficult.
c) There is a limit on central cable length and number of nodes that can be connected.
d) Dependency on central cable in this topology has its disadvantages.If the main cable (i.e. bus ) encounters some problem, whole network breaks down.
e) Proper termination is required to dump signals. Use of terminators is must.
f) It is difficult to detect and troubleshoot fault at individual station.
g) Maintenance costs can get higher with time.
h) Efficiency of Bus network reduces, as the number of devices connected to it increases.
i) It is not suitable for networks with heavy traffic.
j) Security is very low because all the computers receive the sent signal from the source

References :

1. http://best1articles.blogspot.com/2013/03/network-topologies.html