170 likes | 296 Views
Directory and File transfer Services. By Jothi. Two key resources. Lightweight Directory Access Protocol (LDAP) File Transfer protocol Secure file transfer protocol (S/FTP). LDAP. Protocol for accessing directory services over a network
E N D
Directory and File transfer Services By Jothi
Two key resources • Lightweight Directory Access Protocol (LDAP) • File Transfer protocol • Secure file transfer protocol (S/FTP)
LDAP • Protocol for accessing directory services over a network • Deployed on top of TCP, with underlying database can be of any variety
Common applications of LDAP • Single Sign-on (SSO) • User Administration • Public key infrastructure
LDAP Operations • Open • Bind • Search • Modify • Add • delete
LDAP Security Benefits • Authentication • Authorization • Encryption
LDAP Security Vulnerabilities • Denial of service • Man in the middle • Attacks against data confidentiality
FTP • A protocol which allows users on computer to transfer files to another computer • One of the most commonly used application protocols on internet
Transmission Methods • Active FTP • Passive FTP Note : Depends on server’s Role.
Differentiate Active & passive • Active FTP : • command : client >1024 -> server 21 • data : client >1024 <- server 20 • Passive FTP : • command : client >1024 -> server 21 • data : client >1024 -> server >1024
Why FTP and not http • Allows transfer in ASCII or in binary form • Fast and reliable. (compared to http)
ftp> ttu.edu 200 PORT command successful. LIST myProg.c PORT 192,168,0,2,227,199 PASS whatever USER Jothi Terminate Connection FTP’s Connections 2 Connected to ren 220 ren FTP server ready. Name (ren:Jothi): client 150 Opening ASCII mode data connection for /bin/ls. 331 Password req for jothi. Password:whatever -rwxr-xr-x Jothi myProg.c 230 User Jothi logged in. ftp> ls myProg.c 226 Transfer complete User Interface server User Protocol Interpreter User Protocol Interpreter Server Protocol Interpreter Server Protocol Interpreter Control Connection Bind to Port 58311 Connect to client PORT User Data Transfer Function User Data Transfer Function User Data Transfer Function Server Data Transfer Function Server Data Transfer Function Server Data Transfer Function Data Connection
FTP Security Issues • Bounce Attack • Clear text Authentication and data transmission • Glob • Software exploits and buffer over flow • Anonymous FTP and Blind FTP access
Secure File Transfers • Sftp is a secure version of the File Transfer Protocol (ftp). • SFtp uses FTP commands to transfer files securely between accounts
Why SFtp ? • File Transfer Protocol (FTP) doesn't provide for encrypted data transfer, which means that using FTP can expose not only data but also passwords and filenames. • Increasingly, large data centers and computing facilities are prohibiting FTP transfers of sensitive data over unprotected networks. • Secure File Transfer is the solution for the safe transfer of data needed to address required levels of authentication including digital certificates
SFtp implementations • SSH • PuTTY
References • “Windows Internet Security” by Seth Fogie, Cyrus Peikari • “Big book of LDAP” by Pete Loshin • http://www.gracion.com/server/whatldap.html • http://slacksite.com/other/ftp.html • http://www.alphaeducation.com/techdoc/ftp.pdf • http://csrc.nist.gov/publications/nistpubs/800-7/node122.html