Question: Build a Simple File Sharing Site that supports uploading, viewing, and deleting files associated with various users. Details: Have a txt file stored in a
Build a Simple File Sharing Site that supports uploading, viewing, and deleting files associated with various users. Details:
Have a txt file stored in a secure place on your filesystem. It should have at least three usernames, with one username per line.
Users of the file sharing site should be able to enter their username and then log in.
You may implement logins using session variables, or you may implement them using a GET parameter that is passed between pages. Users should see a list of all files associated with their username after the log in. Users should be able to view, upload, and delete files associated with their username. The URI should NOT reveal the internal file structure of your web site.
You should customize your file sharing site by implementing an additional feature or two
Web Security and Validation
Your project needs to demonstrate that thought was put into web security and best practice. For more information, see this week's Web Application Security guide: Web Application Security, Part 1
In particular:
Your application needs to follow the conventions of FIEO (Filter Input and Escape Output). Things you should filter include file names, usernames, and so on.
Your project must pass the W3C Validator with no errors. For more information, see the HTML and CSS guide: HTML and CSS#Validation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
