Skip to content
This repository was archived by the owner on Jan 14, 2020. It is now read-only.
This repository was archived by the owner on Jan 14, 2020. It is now read-only.

IPFS gateway hardening #84

@ghost

Description

Currently, the IPFS gateway (NGINX proxy) allows any content to be uploaded (with a 2MB max payload). If anything can be uploaded from anywhere, there are potential hazards, among them:

  • spam content / listings
  • inappropriate content
  • illegal content

There are many ways to harden the gateway, for example:

  • Formatted loglines, log handling, and some sort of log monitoring would give visibility into what is being uploaded through the gateway
  • Validating uploaded data (adheres to schema, file formats for binary fields, etc)
  • Authentication (ex. integration with ERC725, API keys to ensure uploads come from applications and services built by known developers, etc.)
  • Spam filtering on the text content
  • Image recognition for offensive content

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions