CYB5CPR Secure Programming Assignment

Assignment Help Python Programming
Reference no: EM133063721

CYB5CPR Secure Programming - La Trobe University

Objective:

The first objective of this assignment is to explore, investigate, and report available research and technical materials about (i) buffer overflow attacks and (ii) dynamic memory management. Another objective is to use programming skill and security concepts to build a secure system - more specially, develop a secure registration and login system.

Part A:

In this part, you are required to write a technical article based on EITHER ONE of the two the following topics.
1. Buffer Overflow Attacks

2. Dynamic Memory Management

Format of Report:

For the purpose of this written assessment, you are assumed to be a postgraduate student capable of producing a high-quality report. As such, you should attempt at your best to reflect this quality in the preparation of the written assessment. The report should contain the following six sections, but not limited to:

Section 1: Introduction - Provide a general overview of the topics (follow reading materials on the LMS and explore other research papers).

Section 2: Buffer Overflow Attack/Dynamic Memory Management (choose one of the two) - Discuss the security problems with sample Python codes. Please explore stack overflow, heap overflow, and so on. Screenshots of runtime errors would help.

Section 3: Mitigation Strategy - Discuss mitigation strategies. Analyze why the code is not perfect and what can be improved. Screenshots of successful runtime executions would help.

Section 4: Conclusion - Summarize your findings in this section.

Section 5: References - Follow Harvard or APA referencing style. Please provide in-text citations.

Suggested word count: 800 words. It is no longer a strict requirement, but copying everything from the lecture notes and pasting them into the assignment will not be acceptable.

Page Formatting: A4 size paper, 2-cm margins on all sides, single-sided page, 1-line spacing, and 12 point 'Times New Roman' font. Name and submit the document file as 'Assignment 1.pdf'. Please write your course/subject name, full name and student ID on the cover page. You can use any design for your cover page.

Part B:

In this part of the assignment, you will be writing a Python code to demonstrate your understanding and knowledge about secure programming. You are not required to submit additional information, such as flowcharts. However, please add necessary comments into your Python source code if applicable, to improve its readability.

Develop a secure user registration and login system

Problem Description: Recently a software company has hired you. You are assigned to a team of three members. Your team is currently developing an online course-providing platform. Your job is to develop a secure user registration and login system. The requirements are as follows:

1. The username should not be empty and should be no more than 20 characters.

2. The password must be at least 8 characters long and should contain at least one lowercase letter, one uppercase letter, and one numeric value.

3. After successful registration (with username and password), the program will show a successful message

4. Then the program will ask for login (providing username and password).

5. If username and password are correct, it will allow the user to login.

6. User will be allowed three attempts to login to the system. If unsuccessful, it will print a message like "the username and/or password are not correct".

7. After 3 failure attempts, the login system will lock the user down (Note: you can mimic this requirement by displaying a relevant message.)

You have to write a Python program meeting the above-mentioned requirements. In addition to the functionalities, you have to take care of the security measures such as input validations, buffer overflows, etc. that are relevant to the system.

Attachment:- Secure Programming.rar

Reference no: EM133063721

Questions Cloud

Quantitative methods-dealing with real-world decisions : This course in quantitative methods is intended to provide a valuable tool in your toolbox of professional skills when you are dealing with real-world decisions
How does this impact the financial statements higher cost : How does this impact the financial statements higher cost the cost, the lower cost the net income
Create retention plan for top performer : Create a retention plan for a top performer. What are the components needed to do so? How do you retain a top employee that is unhappy with the organization?
How much should Red Corp record as a liability : On March 31, 2022, the 2021 financial statements were released. On Dec. 31, 2021, how much should Red Corp. record as a liability from the legal case
CYB5CPR Secure Programming Assignment : CYB5CPR Secure Programming Assignment Help and Solution, La Trobe University - Assessment Writing Service
Long-term prognosis for medicare funding : Should some level of healthcare (beyond just the life-saving/stabilizing kind that the ER offers) be a basic right for everyone or not?
Harmful consequences of always telling the truth : What are some of the potential beneficial or harmful consequences of always telling the truth?
Current data breaches that have occurred : What are some current data breaches that have occurred? Why have they occurred and what should businesses do to thwart these breaches?
Determine the total cost of the special order : ETU has made a firm offer of $39,000 for the hats, Determine the total cost of the special order. Total cost of the special order

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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