Security Careers & Ethics
Cybersecurity is a broad field with room for people who love code, networks, investigation, policy, teaching or risk. This lesson maps the main roles, how to build skills legally, and the ethical rules that every security professional follows.
Career paths
| Area | Example roles | What you do | Useful background |
|---|---|---|---|
| Security operations | SOC analyst, incident responder, threat hunter | Monitor, investigate, respond | Networking, OS internals, log analysis |
| Offensive security | Penetration tester, red teamer, bug bounty hunter | Find weaknesses with permission | Web, networks, scripting, curiosity |
| Application security | AppSec engineer, security champion | Secure design reviews, code review, tooling for developers | Software development |
| Cloud & infrastructure | Cloud security engineer, DevSecOps | Secure cloud accounts, pipelines, Kubernetes | Cloud platforms, IaC |
| Identity | IAM engineer | SSO, MFA, access reviews | Directories, protocols (OIDC, SAML) |
| Forensics & malware analysis | DFIR analyst, reverse engineer | Analyse compromised systems and malicious code | OS internals, assembly |
| Governance, risk & compliance | GRC analyst, auditor, privacy officer | Policies, risk assessments, audits | Frameworks, communication |
| Cryptography & research | Cryptographer, security researcher | Design and analyse protocols | Mathematics |
| Leadership | Security architect, CISO | Strategy, budget, risk decisions | Broad experience |
Developers are especially valuable in security: many teams need people who can read code, fix vulnerabilities and build secure tooling. You don't have to leave development to work in security; becoming the security champion in your team is a great start.
Building skills legally
Practising on systems you don't own is illegal almost everywhere (for example under the UK Computer Misuse Act, the US CFAA, the EU directive on attacks against information systems, and Vietnam's Law on Cybersecurity and Penal Code articles on computer crime). In several of these laws, the UK's for one, unauthorised access is an offence even if you "just looked" and changed nothing; in Vietnam a bare look is at least a prohibited act with an administrative fine (details). Fortunately there are many legal ways to learn:
- Your own lab: virtual machines on your laptop, deliberately vulnerable apps such as OWASP Juice Shop or DVWA running locally.
- Capture the Flag (CTF) competitions and training platforms built for practice.
- Bug bounty programmes, within their published scope and rules.
- Open source: contribute security fixes, write detection rules, review code.
- Certifications can structure learning: entry level (CompTIA Security+), defensive (blue team, cloud provider security certificates), offensive (OSCP), management (CISSP, CISM).
The ethics of security work
Security skills are dual-use: the knowledge that protects a system could also harm it. Professional ethics draw the line, and they come down to a few rules:
- Authorisation first: only test systems when you have explicit, written permission from someone entitled to give it, and a defined scope.
- Stay in scope: if the contract says "the web shop", the payroll server is off limits, even if you can reach it.
- Do no harm: avoid disrupting services or destroying data; stop and report if you find something unexpectedly sensitive.
- Confidentiality: data you see during work stays confidential; collect the minimum evidence needed.
- Honesty: report findings accurately, including your own mistakes.
A test without authorisation is an attack, whatever the intention. Here's a model of the checks a penetration-testing team performs before any activity:
from datetime import date
engagement = {
"client": "TAD Shop Ltd",
"signed_by": "CTO",
"scope": ["shop.tadshop.example", "api.tadshop.example"],
"excluded": ["payments.tadshop.example"],
"window": (date(2026, 9, 1), date(2026, 9, 14)),
"no_dos": True,
}
def may_test(target, day, technique):
if not engagement["signed_by"]:
return "NO: no written authorisation"
if target in engagement["excluded"]:
return "NO: explicitly excluded"
if target not in engagement["scope"]:
return "NO: out of scope"
start, end = engagement["window"]
if not start <= day <= end:
return "NO: outside the agreed testing window"
if technique == "denial of service" and engagement["no_dos"]:
return "NO: technique not permitted"
return "yes, within the rules of engagement"
checks = [
("shop.tadshop.example", date(2026, 9, 3), "web app testing"),
("payments.tadshop.example", date(2026, 9, 3), "web app testing"),
("hr.tadshop.example", date(2026, 9, 3), "web app testing"),
("api.tadshop.example", date(2026, 9, 20), "web app testing"),
("api.tadshop.example", date(2026, 9, 5), "denial of service"),
]
for target, day, technique in checks:
print(f"{target:<26} {day} {technique:<18} {may_test(target, day, technique)}")shop.tadshop.example 2026-09-03 web app testing yes, within the rules of engagement
payments.tadshop.example 2026-09-03 web app testing NO: explicitly excluded
hr.tadshop.example 2026-09-03 web app testing NO: out of scope
api.tadshop.example 2026-09-20 web app testing NO: outside the agreed testing window
api.tadshop.example 2026-09-05 denial of service NO: technique not permitted
Responsible disclosure
If you find a vulnerability by accident in someone else's product or website, coordinated (responsible) disclosure is the ethical path:
- Stop testing as soon as you have enough to describe the issue. Don't access other people's data, don't download more than needed, and don't try to "prove" it further.
- Find the right contact: a
security.txtfile (/.well-known/security.txt), a bug bounty page, a vulnerability disclosure policy, or a national CERT if there is none. - Report privately and clearly: what, where, impact, steps to reproduce.
- Give the vendor time to fix it (90 days is a common default) before any publication, and coordinate the publication date.
- Never demand payment in exchange for silence; that's extortion.
A security.txt file looks like this:
Contact: mailto:security@tadshop.example
Expires: 2027-01-01T00:00:00Z
Policy: https://tadshop.example/security/disclosure-policy
Preferred-Languages: en, viAs a developer, publish one for your own services and have a process for handling the reports you receive. Thank reporters: they are helping you for free.
from datetime import date, timedelta
reported = date(2026, 3, 2)
deadline = reported + timedelta(days=90)
fixed = date(2026, 4, 20)
print("report received:", reported)
print("disclosure deadline:", deadline)
print("fixed after", (fixed - reported).days, "days ->",
"coordinated publication" if fixed <= deadline else "deadline passed: discuss extension")report received: 2026-03-02
disclosure deadline: 2026-05-31
fixed after 49 days -> coordinated publication
Go further: The Six Schools as Career Paths maps each security role to the courses it needs, and Certifications explains what each one tests.
Test yourself
What must you have before running any security test against a system?
- A fast internet connection
- Explicit written authorisation and an agreed scope
- A certification
- Permission from a colleague
During an authorised test of the web shop you discover you can reach the HR server. What should you do?
- Test it too; it's the same company
- Stop, don't test it, and report the exposure to the client
- Download data as proof
- Ignore it
Where should you look first to report a vulnerability in a website?
- Social media
- The site's
/.well-known/security.txtor disclosure policy - A public forum
- The site's comment section