Join Stormpath Developer Evangelist, Randall Degges, to learn how to store user files using Amazon S3. He’ll cover everything you need to know to properly handle user files in your web applications.
Randall will cover:
- What is the problem we're trying to solve?
- How files are typically stored
- What you need to know about Amazon S3
- How to build a basic Express application with user authentication
- How to securely store files in S3 using express-stormpath-s3
- Q/A Session
5. We Do a Lot
- Libraries for many languages
- AD / LDAP
- Single Sign On (SAML)
- OAuth2
- Social Login
- Multi-Tenancy
- Groups and Roles
- Email Workflows
9. Database Columns
CREATE TABLE IF NOT EXISTS users (
id UUID DEFAULT uuid_generate_v4(),
email TEXT PRIMARY KEY,
password TEXT NOT NULL,
avatar TEXT
);
avatar.png
Base64 encode
10. No!!!
- Makes DB queries for each image view.
- Slows down DB.
- DBs aren’t good at this sort of IO (heavy disk
reading).
- Slow performance for end users.