Draw a flowchart to illustrate the software design

Assignment Help Programming Languages
Reference no: EM133074093

CYB5CPR Secure Programming - La Trobe University

Question 1:

Recently you have been hired as a programmer in a cloud-based company. There are ten members in your team. Your team is assigned to build a secure Learning Management System (LMS). The system should have the following requirements.

• User registration (after successful registration with username and password, the program will show a successful message, otherwise it will show a warning message for one failure attempt).
• User login (a user can be a lecturer, student, or administrative staff, who can log in from anywhere).
• Modify learning materials (a lecturer can add and modify learning materials).
• Create discussion (bothlecturer and student can create discussion topics).
• View learning materials (all participants can view learning materials).

In addition to the above-mentioned requirements, you should consider and take care of the security measures such as input validations (e.g., username should not be more than 50 characters, only alphabets and blank space can take as input), buffer overflows, etc. that are relevant to the LMS system.

Now do the following tasks based on the information above.

(a) SECURE REQUIREMENTS. Identify and list the functional requirements and security requirements relevant to this case study.

(b) SECURE DESIGN. List the use cases and misuse cases of the system. Draw a flowchart to illustrate the software design. Reasonable assumptions can be made.

(c) SECURE IMPLEMENTATION. What are the issues do you think you may MOST LIKELY encounter during the implementation (coding) for this case study? Give examples and suggest how to address them. Please discuss at least two issues.

(d) SECURE TESTING. Write the test script to test both the functional and security requirement of the feature "view and answer discussion questions". Reasonable assumptions can be made.

Step

Action

Expected Result

 

Functional requirements

 

1

User logged in as Student posting a question on discussion form by clicking on Submit.

Question should be posted and system should generate message "Question posted successfully".

2

User logged in as Lecturer and clicking on view question

Accesses to view the question should be allowed to the user 

3

 

 

4

 

 

5

 

 

6

 

 

 

 

 

 

 

 

Why and what do you think should be performed as part of the secure software testing?

Question 2:

Given the following Python code:

1126_Python code.jpg

(a) What is the execution outcomeif you enter anything in the "name" and "ID" variables? Please write the justification.

(b) What are the security vulnerabilities in the code based on different input values, and how to address them to make the code more secure? Pleasewrite the secure version of this code.

(c) Why is performance optimization an important aspect of secure software development? Explain with examples.

Reference no: EM133074093

Questions Cloud

Difference between positive and normative analysis : Explain difference between positive and normative analysis. Provide example of normative statement or example of positive statement from recent news story.
How much will molly have accumulated : How much will Molly have accumulated when she turns 65 if she invests in equities and earns 8 percent on average
What amount should be reported as inventory on December : These goods had a cost of P125,000 and were picked up by the carrier on January 15, 2017. What amount should be reported as inventory on December
How much is the monthly insurance expense : The insurance converge is for August 1, 2016, through July 31, 2019. How much is the monthly insurance expense
Draw a flowchart to illustrate the software design : Draw a flowchart to illustrate the software design. Reasonable assumptions can be made and Identify and list the functional requirements
Compare the ratios of the company : 1. Has the company's ROE changed over the last three years? What was the main factor that influenced this change?
What amount is reported in the balance sheets as property : What amount is reported in the balance sheets as property, plant, and equipment (net) at the end of the last two fiscal years
Prepare the discontinued segment portion : Wipfli reports income from continuing operations of $210,600. Prepare the discontinued segment portion of its income statement
How the net accounts receivable would appear on statement : Show how the net accounts receivable would appear on the statement of financial position on 31 December 20X8

Reviews

Write a Review

Programming Languages Questions & Answers

  Create a test table in ms word to test your program

Create a TEST TABLE in MS WORD to TEST your program to make sure your program works as expected

  Derive a recursive solution to the problem

CPSC 6109: Advanced Algorithms Prove that the problem to compute the LMIS exhibits optimal substructure.and Derive a recursive solution to the problem

  Write program which inputs employee name

Write the program which inputs Employee Name and Tuition and prints, for each employee, Name and Rebate Amount.

  Write a program which generates 100 three-digit random

an armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number

  Design logic for a program contains housekeeping

Design the logic for a program that contains housekeeping,detail loop,and end-of-job modules,and that calculates the service of charge customers owe for writing a bad check.

  Implement the curried functions in ocaml

Goal of this project is to get you familiar with programming in OCaml. You will have to write a number of small functions - write a helper function which will add another 3-6 lines.

  Explain requirements for using the libraries functions

For each of the libraries you have identified in 1) above, list and explain all requirements that are necessary for using the libraries functions in a piece.

  Write program which instantiates objects of classes

Private data of Quadrilateral must be the x-y coordinate pairs for four end-points of the Quadrilateral. Write a program which instantiates objects of your classes and outputs each objects area (except Quadrilateral.

  Compare the points by y major order

Compare the Points by y major order, that is, points with similar y-coordinate values should come before those with higher y coordinate values. Break ties by comparing x-coordinate values.

  Create a windows application and design document

create a complete C# Windows application and design documents based on the following specifications and instructions.

  Write a program that sums the odd numbers

Write a program that sums the odd numbers between 0 and 50. Write a program that reads from the keyboard a value, N, and prints the sum of the odd numbers.

  Create program which models snake-s behavior

Create a program which models snake's behavior in the given scenario: A snake is moving toward hole. Each time it moves, snake cuts distance between itself and hole by its own body length

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd