security. file security user-level protection protect personal files three ways of protection...

9
Security

Post on 20-Dec-2015

227 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

Security

Page 2: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

File Security

•User-level protection•Protect personal files•Three ways of protection• password-based

• encryption-based

• access right

Page 3: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

Password protection

•Login and password•Login names are public• /etc/passwd

•passwd

•yppasswd, nispasswd

Page 4: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

Encryption

•Covert (encrypt) a file to a different form•Use gpg•gpg --gen-key• generates private & public keys

• ~/.gnupg

•encrypt & sign emails and files

Page 5: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

System security

•Everyone is under threat•Specially when using Internet•Local threats also•Common sense, good practice•Err on the side of caution

Page 6: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

Some threats

•Denial of Service (Dos)• Intrusion•Snooping•Viruses, Worms & Trojans•Rootkits

Page 7: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

Initial steps to security

•shut down unwanted daemons• netstat -an

• /etc/services

•kill unwanted daemons• remove from init

•changing access permissions to needed services

Page 8: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

Best Practices

•Complex passwords•Skip the root account•Don’t trust random binaries• strace, ltrace

•Log files• /var/log/syslog etc.

•Software update•Physical security

Page 9: Security. File Security User-level protection Protect personal files Three ways of protection password-based encryption-based access right

Firewall

•Packet filtering•Stateless / stateful filtering•netfilter / iptables•Firewall products• Firestarter, Smoothwall Express, IPCop, Shoreline