Cloud Storage for Firebase działa szybko i bezpiecznie Infrastruktura Google Cloud dla deweloperów aplikacji, którzy chcą przechowywać i obsługiwać aplikacje treści użytkowników, takich jak zdjęcia i filmy.
Cloud Storage for Firebase to wydajne, proste w obsłudze i niedrogie rozwiązanie usługa pamięci masowej opracowana z myślą o skali Google. Pakiety SDK Firebase do aplikacji Cloud Storage powodują dodanie Google bezpieczeństwa przesyłania i pobierania plików w aplikacjach Firebase niezależnie jakości sieci.
Możesz przechowywać obrazy, dźwięki, filmy i inne zasoby za pomocą naszych pakietów SDK treści użytkowników. Na serwerze Firebase Admin SDK możesz używać do zarządzać zasobnikami, tworzyć adresy URL pobierania Interfejsy API (Google Cloud Storage) aby uzyskać dostęp do plików.
Firebase pakietów SDK w aplikacji Cloud Storage przesyła i pobiera niezależnie jakości sieci. Liczba operacji przesyłania i pobierania jest coraz większa, co oznacza, że uruchamiają się ponownie w miejscach, w których zostały zatrzymane, co oszczędza czas i przepustowość łącza.
Silne zabezpieczenia
Firebase pakietów SDK w domenie Cloud Storage integruje się z pakietem Firebase Authentication, aby zapewnić proste i intuicyjne uwierzytelnianie dla programistów. Możesz użyć naszego deklaratywny model zabezpieczeń umożliwiający dostęp na podstawie nazwy pliku, jego rozmiaru, zawartości typu reklamy i innych metadanych.
Wysoka skalowalność
Usługa Cloud Storage działa w skali eksabajtów, gdy Twoja aplikacja staje się wirusowa. Łatwe przejście od prototypu do środowiska produkcyjnego przy użyciu tej samej infrastruktury które są wykorzystywane w Spotify i Zdjęciach Google.
Jak to działa?
Deweloperzy używają pakietów SDK Firebase do przesyłania i pobierania plików w aplikacji Cloud Storage bezpośrednio od klientów. Jeśli połączenie sieciowe jest słabe, klient może ponów operację od miejsca, w którym została przerwana, oszczędzając czas użytkowników i połączenia internetowego.
Cloud Storage for Firebase przechowuje Twoje pliki w Google Cloud Storage, dzięki czemu są one dostępne zarówno w Firebase, jak i Google Cloud. Dzięki temu możesz: przesyłać i pobierać pliki z klientów mobilnych za pomocą Firebase pakiety SDK na potrzeby aplikacji Cloud Storage. Dodatkowo można przeprowadzać przetwarzanie po stronie serwera jak filtrowanie obrazów lub transkodowanie wideo za pomocą Interfejsy API Google Cloud Storage. Cloud Storage skaluje się automatycznie, co oznacza, że nie ma potrzeby przenosić je do innego dostawcy. Dowiedz się więcej o zaletach naszej integrację z usługą Google Cloud.
Pakiety SDK Firebase dla platformy Cloud Storage płynnie integrują się z Firebase Authentication do identyfikacji użytkowników oraz zapewniamy język deklaracji deklaratywnej zabezpieczeń, który pozwala określić, kontrolę dostępu do poszczególnych plików lub grup plików, dzięki czemu możesz publiczny lub prywatny.
Ścieżka implementacji
Zintegruj pakiety SDK Firebase z kontem Cloud Storage.
Szybko dodaj klientów za pomocą Gradle, CocoaPods lub skryptu.
Tworzenie referencji
podaj ścieżkę do pliku, np. „images/mountains.png”, pobrać lub usunąć aplikację.
Prześlij lub pobierz
Prześlij lub pobierz do typów natywnych w pamięci lub na dysku.
Firebase Remote Config przechowuje produkty określone przez dewelopera pary klucz-wartość, by zmieniać działanie i wygląd aplikacji bez i wymagać od użytkowników pobrania aktualizacji.
Firebase Hosting hostuje kod HTML, CSS i JavaScript w swojej witrynie i inne zasoby dostarczone przez dewelopera, np. grafiki, czcionki i ikony.
Dalsze kroki
Prześlij pierwszy plik do usługi Cloud Storage, korzystając z naszych krótkich wprowadzeń dotyczących iOS, AndroidInternet, C++, lub Unity.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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)."]]