2.5.1 The benefits and drawbacks of using pre-written code Flashcards
Define:
Pre-written code
Code that already exists when developing new software either within your own organisation or from an external source
State:
3 ways that code can be reused
- Using third party libraries
- Open-sourced frameworks
- Repurposing code that has been used/developed/written internally
State:
2 benefits of using pre-written code
- Shorter development time - reduces time needed to develop a solution (python package index) because reduces time planning and writing code
- Improved end product - add greater functionality with pre-written code
State:
3 drawbacks of using pre-written code
- Security risks - code could have security vulnerabilities if not tested properly
- Lack of control - if changes are made to codfe they may have an impact on program being developed because you do not own it
- Naming conventions - Conventions used within the code and names can be different to a programming language that software is being developed in
Define:
Open Source
Software where the copyright holder grants users the right to use, edit and distribute the source code
Define:
Injection Flaws
Allow attackers to relay malicious code through an application to another system
Define:
Cross-site scripting (XSS)
Type of injection, where attackers inject client side scripts so that other users can view them and to bypass access controls; found on websites or web apps that accept end-user input