Access my private space endpoints without access token
How can I make hf space be private (I don’t want to expose my files) but at the same time not require any access token/authorization when i am making api calls?
2024-12-17T11:12:39Z
Because of security policies, you can’t have a private Space accessible via API without authentication on Hugging Face. This ensures that only authorized users can access protected content and features.Here’s a tip: Keep your Space public and handle sensitive data externally or through environment variables (private). This way, you can offer API access without authentication while keeping your private information safe.
2024-12-17T13:29:28Z
Alternatively, you could scrape the data using a browser component.This is a very difficult method. Whether you use the method above or this method, it is a method that is quite close to hacking.
2024-12-19T19:34:59Z
Is there a production HF spaces alternative?