| Solution | Key Idea | AVAILABLE TODAY SOLUTION | Reliability | Speed / Costs | Security (PQC) | Complexity | Recommendation |
|---|---|---|---|---|---|---|---|
| I. RETRIEVING CID FROM ANY BROWSER | |||||||
| Public gateways (ipfs.io) | Free "out-of-the-box" access via HTTPS gateway | ipfs.io, dweb.link cloudflare-ipfs.com Official gateways from Protocol Labs and Cloudflare. Documentation |
Low | ๐ก Medium | ๐ Low | Low | Only tests / prototypes |
| Cloudflare IPFS gateway | Global CDN, high performance | cloudflare-ipfs.com Free public gateway with CDN caching. Requires registration for guaranteed SLA. Documentation |
High | Very High | ๐ Low (centralized) | Low | Fast access to public data |
| Trustless gateway | Client verifies hash โ prevents gateway spoofing | trustless-gateway.link dag.w3s.link w3s.link IPFS Foundation and Web3.Storage. Support verifiable retrieval (car-files + range requests). https://trustless-gateway.link/ipfs/{CID} |
Very High | High | ๐ High | Medium | Production |
| Service Worker Gateway | P2P directly from the browser without a central server | inbrowser.link Helia SW Implementation by IPFS Foundation + ChainSafe. Automatically connects to the IPFS network via libp2p in the browser. Repository https://inbrowser.link/ipfs/{CID} |
High | High | ๐ Very High | High | Maximum decentralization |
| ipfs-smart-gateway | Automatic failover + selection of the fastest gateway | public-gateway-checker Utilities: public-gateway-checker, JS version. Automatic switching between 20+ gateways. |
Very High | ๐ Maximum | ๐ Low | Medium | For production where speed is critical |
| II. STORING CID (pinning, persistence) | |||||||
| Pinning services | Provider stores data on their IPFS nodes |
Pinata โ 1 GB free, API, CDN, NFT-oriented pinata.cloud Filebase โ enterprise, S3-compatible API, 5 GB free filebase.com Lighthouse โ IPFS + Filecoin, perpetual storage, encryption lighthouse.storage 4EVERLAND โ pinning + frontend hosting 4everland.io IPFS.NINJA โ private gateways, 1 GB free, no API key required. |
High | ๐ฐ Low costs (free tier available) | ๐ Medium (trust in provider) | Low | Project startups, small volumes |
| IPFS Cluster | Your own network of nodes with replication |
ipfs-cluster.org Docker Compose for production cluster guide Repository: https://github.com/ipfs-cluster/ipfs-cluster Commands: ipfs-cluster-service + ipfs-cluster-ctl
|
๐ Very High | ๐ธ High (server maintenance) | ๐ High | High | Enterprise, uptime 99.99% |
| Filecoin | Economic incentives for miners to store data |
Filecoin (FIL) Tools: filcdn.io (CDN for retrieval), Storacha, Curio Storage Market Best used via wrappers: Lighthouse (automatic deals), NFT.Storage (deprecated, but alternatives exist). Documentation |
Very High | ๐ฐ๐ฐ High (storage + retrieval fees) | ๐ High (crypto-economics) | High | Archives, long-term >5 years |
| Local storage + CID in JSON / SQLite |
Store hashes only on your own disk |
Any DB: SQLite, PostgreSQL, or simply cid.json.For backup automation โ ipfs pin remote + cron.Manual CID export via ipfs pin ls.
|
Low | ๐ข Zero | ๐ Medium | Low | Only for personal use |
| III. POST-QUANTUM RESISTANCE (PQC) FOR CID/IPNS | |||||||
| Post-quantum signatures in IPNS | Protecting the "IPNS โ CID" mapping against quantum attacks on signatures |
CRYSTALS-Dilithium (ML-DSA) Falcon SPHINCS+ Experimental implementations: js-multiformats + pqcrypto. Not yet built into libp2p/Helia. Hybrid keys (Ed25519 + Dilithium) โ a direction for IPFS development in 2025โ2026.npm: @btc-vision/post-quantum |
High | ๐ Low speed, large signature size | ๐ High | High | For data with long lifetime (>10 years) |
| Hybrid schemes (PQC + classic) | Simultaneous verification of Ed25519 + PQC |
Hybrid KEM + Signature Current research: NIST SP 800-227, hybrid TLS + ML-KEM (Kyber). In IPFS/libp2p โ proposal for hybrid_peer_id (Ed25519 + ML-DSA).Implementations: libp2p + @chainsafe/libp2p-noise + hybrid KEM. |
Very High | ๐ก Medium | ๐ High | High | Pragmatic choice |
| Blockchain with hash-based signatures | Registering CID on a blockchain resistant to quantum attacks |
QRL (Quantum Resistant Ledger) Uses XMSS (eXtended Merkle Signature Scheme). Supports storage of arbitrary data (CID). theqrl.org Alternatives: QRPL (project, concept), IOTA (Winternitz). |
Maximum | ๐ด Low throughput | ๐ Quantum-safe | Very High | Specific quantum-protected registries |
| Regular blockchain (Ethereum, Solana) โ without PQC | Storing CID in a smart contract |
Ethereum (ECDSA) Solana (Ed25519) Simple smart contracts in Solidity / Anchor. For long-term CID storage โ not protected against quantum attacks. Example: ipfs-nft-storage |
High (today) | ๐ฐ๐ฐ Gas costs | ๐ป Vulnerable | Medium | Only if migration is possible before the QC era |
| "Cold" local storage (offline) | CID written on paper/media, no network and no cryptography |
QR code on paper Vinktar (paper wallet) Metal plate Generating QR code from CID: any QR generator. Print and store in a safe. Software solution: ipfs-rust (offline tool). |
Absolute | ๐ข Low (manual entry) | ๐ Perfect | Low | Master keys, archival backups |