Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4073

How to prevent public users from crawling all data from Hasura table [closed]

$
0
0

In Hasura, I have a public role in my users table which is used on my site to display some users in a leaderboard section.

They can be accessed and seen by public since these info include scores, name, and basic info of users.

However, my main issue is that since some of the users are not included in the leaderboard, there's a way for the public to see the rest of the users who aren't even listed on the website.

What would be the best way for me to prevent the public from getting every info on my users table?

I'm thinking of moving my queries to REST API so that I can disable the access of the public role. Any suggestions?


Viewing all articles
Browse latest Browse all 4073

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>