Showing posts with label OS. Show all posts
Showing posts with label OS. Show all posts

Wednesday, December 8, 2010

Security Problems - Multiprogramming and Time-sharing Environment

In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in various security problems. Name at least two of these problems. Can we ensure the same degree of security in a time-share machine as we have in a dedicated machine? Explain your answer.

First, let us define these terms: multiprogramming and time-sharing environment, and security. Multiprogramming is a form of processing in which a computer holds more than one program in memory and works on them in round-robin fashion that is, by sharing out the processor's time so that each program receives some attention some of the time. This way of working is in contrast to using the processor to run one program at a time. Time-sharing is an approach to interactive computing in which a single computer is used to provide apparently simultaneous interactive general-purpose computing to multiple users by sharing processor time. So basically, time sharing is for multi-user computer systems. Further, time-sharing is the sharing of a computing resource among many users by means of multiprogramming and multi-tasking. A time-sharing environment supports multiple users simultaneously. The term originated in the 1960s when multiple terminals were first connected to a single mainframe, allowing programmers and students simultaneous access to computing resources. Security is making sure that files are not read or modified by unauthorized persons/programs which include technical, administrative, legal, social, psychological and political issues.
For the first question, because the data and resources are shared in the memory, one user can copy another user's program / memory space. This could be very detrimental if, for example, an administrator was running a decryption protocol, and another user stole the decryption program and/or key. If it is possible to copy someone else's file it may also be possible that an unauthorized user might modify data without owner’s permission, overwrite another program’s area in the memory. There are many types of intruders that would be the reason for the security issues one of them is a passive intruder, Passive -- read files without authorization; Active -- malicious, unauthorized changes; Casual prying; Snooping by insiders --personal challenge to break security (also by former insiders); Financial gain -- theft, blackmail; Espionage -- commercial or military; Virus or worm-- program, not a direct person, (usually) trying to do (usually) general damage via replication. Using system resources (CPU, disk space) without proper accounting causes the printer to mix output by sending data while some other user's file is printing; is also a problem that may arise.
As for the second question, probably not, since any protection scheme devised by a human can also be broken -- and the more complex the scheme is, the more difficult it is to be confident of its correct implementation, note that even in the case of dedicated processing, you still have security issues (most notably, physical access issues (repairmen, etc), and sanitizing media upon system decommission. In real computer security (as opposed to what's in your textbook, apparently), the answer to the second question is "No, it's not as secure”. A case can be made that to secure a system, multi-user operation is required, in order to support multiple roles (systems admin, security auditor, and user) - dedicated operations don't provide a suitable audit trail. Also, it's the rare multiprogramming system these days where the operating system is the weak link - even Windows provides enough security that your biggest threat is idiot and malicious users.

Hand held computer for work used by a…

Manager in a supermarket

First we must define what a supermarket manager does. In order to properly cater to the needs of customers, a supermarket must staff an expert, attentive management team. A supermarket manager may assume many different duties, such as supervising employees and store operations, taking inventory and ordering products, performing administrative and human resources work, or engaging in safety inspections and loss prevention. Most managers are very skilled at organizing merchandise, communicating with employees, and providing excellent customer service.
Given with those duties a hand held computer would be very helpful in accomplishing those tasks. For example in the inventory checking, it would be convenient and more accurate if the inventory would be checked using a computerized system. There are many inventory systems nowadays that a supermarket manager can use; so as an ordering system for the supplies of their products. Using that handheld computer, the supermarket manager can track the transactions within his palm’s reach (literally).


Delivery person for a courier service

A delivery person for a courier service operates vehicles to pick up and deliver messages, packages, and mail the customer wants to be delivered. Couriers are distinguished from ordinary mail services by features such as speed, security, tracking, signature, specialization and individualization of services, and committed delivery times, which are optional for most everyday mail services. A local example of this is LBC.
Here are some of the principal responsibilities of the delivery personnel:
  • Follows instructions for pick up, transport and delivery of messages, packages, and mail the customer wants to be delivered. 
  • Gives basic operating instructions to the customer at the time of delivery of the equipment. 
  • Keeps records of pick-up and deliveries and obtains necessary signatures and receipts as requested by supervisors.
Having those duties, a delivery person could use a hand held computer in tracking all the deliverables on his truck. He could also use a finger print scanner to secure the identity of the receiver of his delivery.

Wednesday, November 24, 2010

Operating Systems ~ Categorized


  • ·         Batch Systems


     SCOPE, an acronym for Supervisory Control Of Program Execution, was the name used by the Control Data Corporation for a number of operating system projects in the 1960s.

SCOPE for the CDC 6000 series

This operating system was based on the original Chippewa Operating System. In the early 1970s, it was renamed NOS/BE for the CDC Cyber machines. The SCOPE operating system is a file-oriented system using mass storage, random access devices. It was designed to make use of all capabilities of CDC 6000 computer systems and exploits fully the multiple-operating modes of all segments of the computer. Main tasks of SCOPE are controlling job execution, storage assignment, performing segment and overlay loading. Its features include comprehensive input/output functions and library maintenance routines. The dayfile chronologically records all jobs run and any problems encountered. To aid debugging, dumps and memory maps are available. Under control of SCOPE, a variety of assemblers (COMPASS), compilers (ALGOL, FORTRAN, COBOL), and utility programs (SORT/MERGE, PERT/TIME, EXPORT/IMPORT, RESPOND,SIMSCRIPT, APT, OPTIMA etc.) may be operated. The computer emulation community has made repeated attempts to recover and preserve this software without success.

     BKY - A batch-oriented OS for the CDC 6600 at Lawrence Berkeley Laboratories. Early 1970s.”  Professor Jim Mooney’s list of Batch Systems for Large Computer



  • ·         Interactive Systems


Multics (Multiplexed Information and Computing Service) was an extremely influential early time-sharing operating system. The project was started in 1964.
It had numerous features intended to result in high availability so that it would produce a computing utility similar to the telephone and electricity services. Modular hardware structure and software architecture were used to achieve this. The system could grow in size by simply adding more of the appropriate resource—computing power, main memory, disk storage, etc. Separate access control lists on every file provided flexible information sharing and complete privacy when needed. It had a number of standard mechanisms to allow engineers to analyse the performance of the system as well as a number of adaptive performance optimisation mechanisms.

  • ·         Real-time systems


PikeOS is a microkernel-based real-time operating system made by SYSGO AG. It is targeted at safety and security critical embedded systems. It provides a partitionedenvironment for multiple operating systems with different design goals, safety requirements, or security requirements to coexist in a single machine.
If several programs having different criticality levels are to coexist in one machine, the underlying OS must ensure that they remain independent. Resource partitioning is a widely accepted technique to achieve this. PikeOS combines resource partitioning and virtualisation: Its virtual machine environments (VMs) are able to host entire operating systems, along with their applications. Since PikeOS uses paravirtualisation, operating systems need to be adapted in order to run in one of its VMs. Application programs, however, can run unmodified.


  • ·         Hybrid Systems
NeXTSTEP is the object-oriented, multitasking operating system developed by NeXT Computer to run on its range of proprietary workstation computers, such as the NeXTcube, and later, other computer architectures. NeXTSTEP was a combination of several parts:
·         a Unix-like operating system based on the Mach kernel, plus source    code from BSD
·         Display PostScript and a windowing engine
·         the Objective-C language and runtime
·         an object-oriented (OO) application layer, including several "kits"
·         development tools for the OO layers

  • ·         Embedded Systems
Magic Cap (short for Magic Communicating Applications Platform) was an object-oriented operating system for PDAs developed by General Magic. Tony Fadell was in charge of the platform. 
Magic Cap incorporated a "room metaphor", where the user navigated from room to room to perform various tasks (E.G. a home office to perform word processing, or a file room to clean up the system files). The interface resembled that of Microsoft Bob, though Magic Cap lacked an office assistant.
Several electronic companies came to market with Magic Cap devices, the most notable of which being the Sony Magic Link released in 1994 and the Motorola Envoy, also released in 1994. None of these devices were commercial successes.