oh, i just see some users use my actor
# 💻creators-and-apify
f
oh, i just see some users use my actor and my profit is negative, i think maybe it's because of they're using resident proxy do you know how to restricted to databaseproxy in schema.json?
t
What do you mean by database proxy?
f
datacenter proxy
wrong words
t
Remove the proxy option from the input schema and create the proxy config with the datacenter option in your code.
a
@tolu.da.re just advanced to level 5! Thanks for your contributions! 🎉
f
you mean just disable clients to edit proxy config?
t
Remove it from the input so the user/client cannot set their own value.
f
thanks for your solution, i cost some of my creator plan money to help clients use resident proxy, I put in a lot of hard work and even had to pay for them.😆
t
You're welcome. Sorry for that.
l
You generally don't want to give users more options than are totally necessary. If you have a generic scraper where some pages might be fine with datacenter while others needs residentials, you can switch to PPE and charge for residential page as separate event, see e.g. https://apify.com/vdrmota/contact-info-scraper/pricing