Dropbox

2020

Python

↑ Demo
Trulli Trulli Trulli

Dropbox is a storage file system coded in python. Executes commands securely. Built to be secure against attacks.

For authentication, protects against SQL injections and dictionary attacks, by using prepared statements and per-user salting and hashing for passwords. For access control and file storage, protects against path traversals. Sessions are meant to last an appropriate amount of time (an hour in this case). Users have a limited amount of space to protect against buffer attacks.

The following commands used in Dropbox:

 register [username][password]  register user in dropbox system
 login [username][password]  login into system
 cd [directory]  change directory
 rm [file]  delete file
 rmdir [file]  delete directory
 upload [localpath][remotepath]  upload file from local to dropbox
 download [localpath][remotepath]  download file from dropbox to local
 ls [path]  list out files in a directory
 help  displays list of commands
 delete_account  deletes files, folders, and user from system
 cat [path]  prints out file to terminal
 logout  logout of system
 exit  logs out and exits system

Code cannot be shared publicly.