Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # Firebase - [[firebase_auth]] - [Firebase-로-웹사이트-개발하기-소개-장단점-1편](http://aerosky.tistory.com/entry/Firebase-%EB%A1%9C-%EC%9B%B9%EC%82%AC%EC%9D%B4%ED%8A%B8-%EA%B0%9C%EB%B0%9C%ED%95%98%EA%B8%B0-%EC%86%8C%EA%B0%9C-%EC%9E%A5%EB%8B%A8%EC%A0%90-1%ED%8E%B8) - [구글 Firebase - 실시간 웹 서버 구축하기](http://blog.naver.com/PostView.nhn?blogId=sogangori&logNo=220724117841&parentCategoryNo=6&categoryNo=&viewDate=&isShowPopularPosts=true&from=search) ### Realtime Database 규칙 ``` { "rules": { ".read": true, ".write": true, "2016" : { "site-moa" : { "shop-overseas" : { ".indexOn" : "dateFormat" }, "shop-korea" : { ".indexOn" : "dateFormat" } } } } } ``` rules에 모두 읽고 쓸 수 있도록 true를 설정한다. 인덱스 설정을 위해, `.indexOn`를 입력한다. ### Understand Firebase Realtime Database Rules [more](https://firebase.google.com/docs/database/security/#section-overview) |Rule Types| Desc| |---|---| |.read |Describes if and when data is allowed to be read by users.| |.write |Describes if and when data is allowed to be written.| |.validate|Defines what a correctly formatted value will look like, whether it has child attributes, and the data type.| |.indexOn|Specifies a child to index to support ordering and querying.| open/firebase.txt Last modified: 2024/10/05 06:15by 127.0.0.1