Four-Project Series

Secure File-Sharing APIs with AWS S3 you own this product

prerequisites
basics of Java and Spring Boot • basics of AWS S3
skills learned
harden file-sharing services • JSON Web Token (JWT) authentication • decentralized authorization • validate digital signatures • malware analysis • security testing
Sashank Dara
4 weeks · 6-8 hours per week average · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • share your subscription with another person
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


ShareSafe’s mission is to provide online file-sharing-as-a-service and, as its developer, your mission is to build that service with robust security that will keep ShareSafe’s customers coming back. Using Java Spring Boot, you’ll build a simple file transfer REST API service that supports uploading and downloading of files, and you’ll identify and tackle file-upload vulnerabilities. You’ll add security by implementing a user-authentication layer using JSON Web Tokens (JWTs) and leveraging macaroons (cryptographic cookies) for secure file sharing.

To boost security, you’ll add file integrity checks and logging of all user and file activities. Then, you’ll take your REST API service’s security up a level by configuring AWS S3 to enable malware analysis, and implementing VirusTotal, a service that provides dynamic and behavioral analysis of shared files. When you’re done with these liveProjects, you’ll have built a file-sharing REST API with high availability, durability, and security, and ShareSafe’s customers will enjoy a secure file-sharing experience.

These projects are designed for learning purposes and are not complete, production-ready applications or solutions.

It’s an interesting project building an interesting tool.

Richard Vaughan, CTO, Purple Monkey Collective

book resources

When you start each of the projects in this series, you'll get full access to the following book for 90 days.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Secure File-Sharing APIs with AWS S3 project for free

project author

Sashank Dara

Sashank Dara received his PhD in cybersecurity from IIIT-Bangalore in the area of applied cryptography and threat intelligence. He’s an expert cybersecurity technologist with more than 17 years of experience in the field, including as a consultant advisor for Manipal Global Education Services’ cybersecurity programs and as a security technology and strategy advisor for security startups including Appknox, Haltdos, and SecurityJourney.com. He remains a trusted information security consultant and advisor for top companies in EdTech, IT/ITes, academia, and real estate. He’s the co-inventor of 5 U.S. patents (and 3 IETF drafts) in the areas of cloud, SDN, and NFV security, and he’s published more than a dozen research papers at IEEE, LNCS conferences in the areas of cloud security, privacy, cryptography, and threat intelligence. A prolific speaker at security conferences and invited talks, Dara is currently the CTO and co-founder of Seconize, an award-winning cybersecurity startup pioneering a cyber risk and compliance management SaaS product suite.

Prerequisites

These liveProjects are for programmers familiar with basic REST APIs and Java who are interested in learning to build a simple and secure file-sharing API service. To begin these liveProjects you’ll need to be familiar with the following:

TOOLS
  • Basics of Java
  • Basics of Spring
  • Basics of JDBC
  • Basics of AWS S3 file sharing
  • Testing APIs via Postman
  • Basics of Ubuntu as host system
  • Basics of Docker
  • Basics of Git
TECHNIQUES
  • Basic debugging
  • Code reviews
  • Code refactoring
  • Unit testing
  • Security testing
  • AWS service configurations

you will learn

In this liveProject series, you’ll learn to build and secure a simple file-sharing service, using secure coding and testing practices.

  • Understand the shared responsibility model of cloud security
  • Understand the ShareSafe API specified in Open API Specification 3.0 using Swagger
  • Set up the environment to implement the API specification provided using Java Spring
  • AWS S3 Java SDK and APIs
  • Implement basic file-sharing REST API service
  • Implement the JWT-based HTTP authentication with username and password
  • Implement file sharing with shareable URLs
  • Authorize file download requests based on permissions granted
  • Test the functionality of the reference API implementation using Postman
  • Access control testing
  • Malware analysis on the files being uploaded
  • Log all requests for auditing purposes using standard formats

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.
RECENTLY VIEWED