Difference between revisions of "Security"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= encrypted image as safe =
+
Wikipedia structures [http://en.wikipedia.org/wiki/Information_security (information) security] into three parts: confidentiality, integrity and availability. This article deals with confidentiality and integrity, for securing your data's availability, see [[backup]].
Have aes and cryptoloop loaded
 
dd if=/dev/zero of=/save.img bs=1024k count=100
 
--> creates an image of 100 MB
 
  
losetup -e aes /dev/loop0 /save.img
+
= Disk =
you can delete this again with -d, but for a new access to loop0 you will need a reboot
+
* [[encrypt a disk]]
--> assigns loop device and password to device
+
* [[undelete files]]
mkfs.ext3 /dev/loop0
+
* [[shred|delete files making them unrestorable]]
--> formats the device with ext3
+
 
mount -o encryption=aes /safe.img /secret
+
= Web Services =
--> mounts the image with password prompt
+
* [[set up Apache with https]]
Or enter into /etc/fstab:
+
* [[john the ripper]] - check for weak passwords
/safe.img /secret ext3 rw,user,loop=/dev/loop1,encryption=aes 0 0
+
 
 +
= Network =
 +
* [[firewall]]

Latest revision as of 08:17, 25 January 2012

Wikipedia structures (information) security into three parts: confidentiality, integrity and availability. This article deals with confidentiality and integrity, for securing your data's availability, see backup.

Disk

Web Services

Network