WixData .contains() method unknown limitations?

@javan-friedel Let me ask you, on your front end, your members login and then want to search the blogs. If they have logged, you can make the collection secure to only allow members access to the information. I find doing the data stuff in the backend MUCH MORE secure then in the front end. First, I can hide the fields, collections names etc. It is also much faster for the backend to read from the collection, and then put all the information into a object and then transfer the completed object to the front end. I think that the approach of doing the search in the backend, and setting the correct permissions on your collection will keep your data secure. This will prevent it from having public access.

Go into Collection manager, click on your collection you need to protect, go into the permissions settings, and then select ‘Custom Permissions’ and then set read/write to be members only. If you want only the member to be able to update/delete his/her own blogs only, you can set that with the custom permissions.