security
4 tutorials tagged “security”.
- File Permissions and FileDescriptorRead and change file permissions with NIO.2 PosixFilePermissions, learn what FilePermission and FileDescriptor are, and where you still meet them.
- Random and SecureRandom in JavaRandom makes fast, repeatable pseudo-random numbers; SecureRandom makes unpredictable ones for security. Learn their methods, streams and seeds.
- How to Read Files from a Zip File in JavaList and read the entries of a zip file with ZipFile and ZipInputStream, print their contents, extract them safely, and guard against zip slip.
- Serialization Security Risks and AlternativesWhy deserializing untrusted data is dangerous, how ObjectInputFilter limits the risk, and why modern Java code prefers JSON and other formats.