Security: Symmetric / Asymmetric Encryption (Notes)

Symmetric encryption uses the same key to encrypt and decrypt information. Symmetric encryption is generally faster than asymmetric encryption. However, it has the issue of finding a secure method of sharing the key (e.g., password) for the encryption so that it may be used. Symmetric encryption includes: Block ciphers such as AES (Advanced Encryption Standard), … Continue reading Security: Symmetric / Asymmetric Encryption (Notes)

Security: OWASP Top Ten (Notes)

The Open Web Application Security Project (OWASP) provides a top ten security risks in web applications at https://owasp.org/www-project-top-ten/ . The ranking of risks can help developers (and organisations) make their applications more secure. The 2021 OWASP Top Ten Broken Access ControlCryptographic FailuresInjectionInsecure DesignSecurity MisconfigurationVulnerable and Outdated ComponentsIdentification and Authentication FailuresSoftware and Data Integrity FailuresSecurity Logging … Continue reading Security: OWASP Top Ten (Notes)

AWS – EC2 User Data: Preparing Ubuntu Instance For Ansible Management (AWS / Ansible)

I have used previous blog posts to discuss using Ansible to create / manage AWS EC2 instances, and using Terraform with Ansible to create / manage AWS EC2 instances. However, there are people that prefer to use the AWS web console over Infrastructure as Code (IaC). If you find yourself in the situation of creating … Continue reading AWS – EC2 User Data: Preparing Ubuntu Instance For Ansible Management (AWS / Ansible)

AWS Lambda – Stop Instances Outside Office Hours (Python / AWS)

I previously wrote about using some Python to stop AWS EC2 instances that had the tag "office_hours" and indicated that this could be automatically run via AWS Lambda. This blog post is a brief follow up with some notes on creating the Lambda function, using the Python from the previous blog post. Using AWS Lambda … Continue reading AWS Lambda – Stop Instances Outside Office Hours (Python / AWS)