Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Cloud Storage for Firebase
plat_ios
plat_android
plat_web
plat_flutter
plat_cpp
plat_unity
Cloud Storage for Firebase ist ein schnelles und sicheres Smartphone
Google Cloud-Infrastruktur für App-Entwickler, die Daten speichern und bereitstellen
von Nutzern erstellte Inhalte wie Fotos oder Videos
Cloud Storage for Firebase ist ein leistungsstarkes, einfaches und kostengünstiges Objekt
Speicherdienst für Google-Maßstab Die
Firebase SDKs für
Cloud Storage fügen Google
Dateiuploads und -downloads für Ihre Firebase-Apps,
Netzwerkqualität.
Mit unseren Client-SDKs können Sie Bilder, Audio, Video und andere
nutzergenerierten Inhalten. Auf dem Server können Sie die Firebase Admin SDK für Folgendes verwenden:
um Buckets zu verwalten, Download-URLs zu erstellen
Google Cloud Storage-APIs
um auf Ihre Dateien zuzugreifen.
Startbereit? Plattform auswählen:
iOS oder höher
Android-Gerät
Web
Flattern
Unity
C++
Hauptmerkmale
Robuste Funktionen |
Firebase SDKs für Cloud Storage führen Uploads und Downloads unabhängig von
Netzwerkqualität. Uploads und Downloads sind stabil, das heißt, sie werden an der Stelle neu gestartet,
spart er Zeit und Bandbreite.
|
Starke Sicherheitsmaßnahmen |
Firebase SDKs für Cloud Storage werden in Firebase Authentication eingebunden, um Folgendes bereitzustellen:
einfache und intuitive Authentifizierung für Entwickler. Sie können unser
deklaratives Sicherheitsmodell, um den Zugriff auf der Grundlage von Dateiname, Größe und Inhalt zu ermöglichen
Typ und andere Metadaten.
|
Hohe Skalierbarkeit |
Cloud Storage ist auf Exabyte ausgelegt, wenn Ihre App viral geht.
Müheloses Wachstum vom Prototyp zur Produktion mit derselben Infrastruktur
für Spotify und Google Fotos.
|
Funktionsweise
Entwickler verwenden die Firebase SDKs für Cloud Storage zum Hoch- und Herunterladen von Dateien
direkt von der Kundschaft. Wenn die Netzwerkverbindung schlecht ist, kann der Client den Vorgang genau dort fortsetzen, wo er unterbrochen wurde. Das spart Zeit und Bandbreite.
Cloud Storage for Firebase speichert Ihre Dateien in einem
Google Cloud Storage-Bucket,
sodass sie sowohl über Firebase als auch über Google Cloud zugänglich sind. So können Sie
die Flexibilität, Dateien von mobilen Clients über die
Firebase SDKs für Cloud Storage. Außerdem ist eine serverseitige Verarbeitung wie
als Bildfilterung oder Videotranscodierung mit der
Google Cloud Storage APIs
Cloud Storage wird automatisch skaliert. Sie müssen also nichts weiter tun.
zu einem anderen Anbieter migrieren. Weitere Informationen zu allen Vorteilen unserer
Integration mit Google Cloud.
Die Firebase SDKs für Cloud Storage sind nahtlos mit
Firebase Authentication verwenden, um Nutzer zu identifizieren, und wir bieten eine
deklarative Sicherheitssprache, mit der Sie
Zugriffssteuerungen für einzelne Dateien oder Dateigruppen, sodass Sie Dateien als
öffentlich oder privat.
Vorgehensweise bei der Implementierung
|
Integriere die Firebase SDKs für Cloud Storage. |
Binden Sie Clients schnell über Gradle, CocoaPods oder einen Script-Include ein. |
|
Referenz erstellen |
Geben Sie den Pfad zu einer Datei an, z. B. "images/mountains.png", um sie hochzuladen.
herunterladen oder löschen.
|
|
Hochladen oder herunterladen |
Sie können native Typen im Arbeitsspeicher oder auf dem Laufwerk hoch- oder herunterladen. |
|
Dateien schützen |
Firebase Security Rules für Cloud Storage verwenden
um Ihre Dateien zu sichern.
|
|
(Optional) Download-URLs erstellen und teilen |
Verwenden Sie den Firebase Admin SDK.
, um gemeinsam nutzbare URLs zu generieren, damit Nutzer Objekte herunterladen können.
|
Sie möchten andere Datentypen speichern?
- Cloud Firestore ist eine flexible, skalierbare Datenbank für
Mobile, Web- und Serverentwicklung mit Firebase und Google Cloud.
- Im Firebase Realtime Database werden JSON-Anwendungsdaten gespeichert,
wie Spielstatus oder Chatnachrichten, und synchronisiert Änderungen sofort über
allen verbundenen Geräten. Um mehr über die Unterschiede zwischen Datenbanken zu erfahren
finden Sie unter
Wählen Sie eine Datenbank aus: Cloud Firestore oder Realtime Database.
- Firebase Remote Config speichert vom Entwickler angegebene Informationen
Schlüssel/Wert-Paare verwenden, um das Verhalten und Erscheinungsbild Ihrer App zu ändern,
Nutzer müssen ein Update herunterladen.
- Firebase Hosting hostet die HTML-, CSS- und
JavaScript für Ihre Website und andere vom Entwickler bereitgestellte Assets wie
Grafiken, Schriftarten und Symbolen.
Nächste Schritte
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-24 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-24 (UTC)."],[],[],null,["Cloud Storage for Firebase \nplat_ios plat_android plat_web plat_flutter plat_cpp plat_unity \nCloud Storage for Firebase is built on fast and secure\nGoogle Cloud infrastructure for app developers who need to store and serve\nuser-generated content, such as photos or videos. \nCloud Storage for Firebase is a powerful, simple, and cost-effective object storage service built for Google scale. The Firebase SDKs for Cloud Storage add Google security to file uploads and downloads for your Firebase apps, regardless of network quality.\n\n\u003cbr /\u003e\n\nYou can use our client SDKs to store images, audio, video, or other\nuser-generated content. On the server, you can use the Firebase Admin SDK to\nmanage buckets and create download URLs, and use\n[Google Cloud Storage APIs](//cloud.google.com/storage/docs/reference/libraries)\nto access your files.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/storage/ios/start)\n[Android](/docs/storage/android/start)\n[Web](/docs/storage/web/start)\n[Flutter](/docs/storage/flutter/start)\n\n[Unity](/docs/storage/unity/start)\n[C++](/docs/storage/cpp/start)\n\nKey capabilities\n\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Robust operations | Firebase SDKs for Cloud Storage perform uploads and downloads regardless of network quality. Uploads and downloads are robust, meaning they restart where they stopped, saving your users time and bandwidth. |\n| Strong security | Firebase SDKs for Cloud Storage integrate with Firebase Authentication to provide simple and intuitive authentication for developers. You can use our declarative security model to allow access based on filename, size, content type, and other metadata. |\n| High scalability | Cloud Storage is built for exabyte scale when your app goes viral. Effortlessly grow from prototype to production using the same infrastructure that powers Spotify and Google Photos. |\n\nHow does it work?\n\nDevelopers use the Firebase SDKs for Cloud Storage to upload and download files\ndirectly from clients. If the network connection is poor, the client is able to\nretry the operation right where it left off, saving your users time and\nbandwidth.\n\nCloud Storage for Firebase stores your files in a\n[Google Cloud Storage](//cloud.google.com/storage) bucket,\nmaking them accessible through both Firebase and Google Cloud. This allows you\nthe flexibility to upload and download files from mobile clients via the\nFirebase SDKs for Cloud Storage. In addition, you can do server-side processing such\nas image filtering or video transcoding using the\n[Google Cloud Storage APIs](//cloud.google.com/storage/docs/reference/libraries).\nCloud Storage scales automatically, meaning that there's no need to\nmigrate to any other provider. Learn more about all the benefits of our\n[integration with Google Cloud](/docs/storage/gcp-integration).\n\nThe Firebase SDKs for Cloud Storage integrate seamlessly with\n[Firebase Authentication](/docs/auth) to identify users, and we provide a\n[declarative security language](/docs/storage/security) that lets you set\naccess controls on individual files or groups of files, so you can make files as\npublic or private as you want.\n\nImplementation path\n\n|---|------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|\n| | Integrate the Firebase SDKs for Cloud Storage. | Quickly include clients via Gradle, CocoaPods, or a script include. |\n| | Create a Reference | Reference the path to a file, such as \"images/mountains.png\", to upload, download, or delete it. |\n| | Upload or Download | Upload or download to native types in memory or on disk. |\n| | Secure your Files | Use [Firebase Security Rules for Cloud Storage](/docs/storage/security) to secure your files. |\n| | (Optional) Create and Share Download URLs | Use the [Firebase Admin SDK](/docs/storage/admin/start) to generate shareable URLs to let users download objects. |\n\nLooking to store other types of data?\n\n- [Cloud Firestore](/docs/firestore) is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud.\n- The [Firebase Realtime Database](/docs/database) stores JSON application data, like game state or chat messages, and synchronizes changes instantly across all connected devices. To learn more about the differences between database options, see [Choose a database: Cloud Firestore or Realtime Database](/docs/firestore/rtdb-vs-firestore).\n- [Firebase Remote Config](/docs/remote-config) stores developer-specified key-value pairs to change the behavior and appearance of your app without requiring users to download an update.\n- [Firebase Hosting](/docs/hosting) hosts the HTML, CSS, and JavaScript for your website as well as other developer-provided assets like graphics, fonts, and icons.\n\nNext steps\n\n- Upload your first file to Cloud Storage using our quickstarts for [iOS](https://github.com/firebase/quickstart-ios), [Android](https://github.com/firebase/quickstart-android), [Web](https://github.com/firebase/quickstart-js), [C++](https://github.com/firebase/quickstart-cpp), or [Unity](https://github.com/firebase/quickstart-unity).\n- Add Cloud Storage to your [Apple](/docs/storage/ios/start), [Android](/docs/storage/android/start), [Web](/docs/storage/web/start), [C++](/docs/storage/cpp/start) or [Unity](/docs/storage/unity/start) app.\n- Learn about how to secure your files using [Firebase Security Rules for Cloud Storage](/docs/storage/security).\n- Add powerful new features such as image recognition or speech to text by [integrating with Google Cloud](/docs/storage/gcp-integration)."]]