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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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