Tag: java

Encrypting removable media in Linux using dm-crypt and LUKS

The dm-crypt tool is as an encryption layer for the device-mapper used by all major Linux distributions to encrypt storage volumes. I’m going to describe here how to use it for encryption of e.g. USB-sticks or any other removable media used quite often to transfer or backup data. LUKS LUKS (Linux Unified Key Setup) does […]

Audit implementation via Spring AOP

Audit information containing, at least, logged-in user id and timestamp can be very useful information for each persisted object. Customer’s specifications do not usually mention it besides some cases when an entity requires some kind of sophisticated changes history tracking. From my experience having such an information quite often pays off. Our solution should fulfill […]