문서 보기역링크PDF로 내보내기맨 위로 이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. # 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 마지막으로 수정됨: 2021/04/16 05:31저자 127.0.0.1