קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Cloud Storage for Firebase
plat_ios
plat_android
plat_web
plat_flutter
plat_cpp
plat_unity
Cloud Storage for Firebase מבוסס על תהליך מהיר ומאובטח
תשתית Google Cloud למפתחי אפליקציות שצריכים לאחסן שירות ולהציג
תוכן שנוצר על ידי משתמשים, כמו תמונות או סרטונים.
Cloud Storage for Firebase הוא אובייקט חזק, פשוט וחסכוני
שירות אחסון שמותאם לקנה המידה של Google. ערכות ה-SDK של
Firebase ל-
Cloud Storage מוסיפות את אבטחת Google להעלאות ולהורדות של קבצים באפליקציות Firebase, ללא קשר לאיכות הרשת.
אפשר להשתמש בערכות ה-SDK של הלקוח שלנו כדי לאחסן תמונות, אודיו, וידאו או
תוכן שנוצר על ידי משתמשים. בשרת, אפשר להשתמש ב-Firebase Admin SDK כדי
לנהל קטגוריות וליצור כתובות URL להורדה, ולהשתמש
ממשקי API של Google Cloud Storage
כדי לגשת לקבצים.
שנתחיל? בחירת הפלטפורמה:
iOS+
Android
אתר
Flutter
Unity
C++
יכולות עיקריות
תפעול חזק |
Firebase ערכות SDK של Cloud Storage מבצעות העלאות והורדות ללא קשר ל-
איכות הרשת. העלאות והורדות הן עוצמתיות, כלומר הן מופעלות מחדש כאשר
הם הפסיקו לפעול, וחסכו למשתמשים זמן ורוחב פס.
|
אבטחה חזקה |
Firebase ערכות SDK עבור Cloud Storage משתלבות עם Firebase Authentication כדי לספק
לאימות פשוט ואינטואיטיבי של המפתחים. אפשר להשתמש במודל האבטחה המוצהר שלנו כדי לאפשר גישה על סמך שם הקובץ, הגודל, סוג התוכן ומטא-נתונים אחרים.
|
מדרגיות גבוהה |
Cloud Storage מתוכנן לעומס (exabyte) כאשר האפליקציה הופכת לוויראלית.
צמיחה פשוטה בעזרת אותה תשתית, משלב האב טיפוס לשלב הייצור
שמפעיל את Spotify ו-Google Photos.
|
איך זה עובד?
מפתחים משתמשים בערכות ה-SDK של Firebase עבור Cloud Storage כדי להעלות ולהוריד קבצים
ישירות מלקוחות. אם החיבור לרשת חלש, הלקוח יכול
לבצע שוב את הפעולה מהמקום שבו היא נעצרה, וכך לחסוך למשתמשים זמן
רוחב פס.
הקבצים שלך נשמרים על ידי Cloud Storage for Firebase
בקטגוריה Google Cloud Storage,
ולכן אפשר לגשת אליהם גם דרך Firebase וגם דרך Google Cloud. כך אפשר
את הגמישות להעלות ולהוריד קבצים מלקוחות במכשירים ניידים באמצעות
Firebase ערכות SDK עבור Cloud Storage. בנוסף, אפשר לבצע עיבוד בצד השרת
כסינון תמונות או להמרת קידוד של סרטונים באמצעות
ממשקי API של Google Cloud Storage.
Cloud Storage משתנה באופן אוטומטי, כלומר אין צורך
העברה לכל ספק אחר. מידע נוסף על כל היתרונות של השילוב עם Google Cloud
ערכות ה-SDK של Firebase עבור Cloud Storage משתלבות בצורה חלקה עם
Firebase Authentication לזיהוי משתמשים, ואנחנו מספקים
שפת אבטחה הצהרתית שמאפשרת להגדיר
לבקרת גישה על קבצים בודדים או קבוצות של קבצים, כדי שאפשר יהיה להגדיר קבצים
ציבורי או פרטי, לפי הצורך.
נתיב ההטמעה
|
שילוב של Firebase ערכות ה-SDK של Cloud Storage. |
כוללים במהירות לקוחות באמצעות Gradle, CocoaPods או סקריפט. |
|
יצירת קובץ עזר |
להפנות לנתיב לקובץ, כמו 'images/שלוחציםtains.png', כדי להעלות,
להוריד או למחוק אותו.
|
|
העלאה או הורדה |
להעלות או להוריד סוגים נייטיב בזיכרון או בדיסק. |
|
אבטחת הקבצים |
שימוש ב-Firebase Security Rules ל-Cloud Storage
כדי לאבטח את הקבצים.
|
|
(אופציונלי) יצירה ושיתוף של כתובות URL להורדה |
שימוש בFirebase Admin SDK
כדי ליצור כתובות URL שניתנות לשיתוף כדי לאפשר למשתמשים להוריד אובייקטים.
|
רוצים לאחסן נתונים מסוגים אחרים?
השלבים הבאים
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-24 (שעון UTC).
[null,null,["עדכון אחרון: 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)."]]