This message was deleted.
# ask-for-help
s
This message was deleted.
j
Hey welcome! What would you like to achieve here? You can always use curl or any http client to interact with the api
u
Thank you for your reply!! I want to access the server exclusively through curl or an HTTP client due to security considerations. I want to prevent others from accessing it.
j
Would you specifically want to disable the swagger UI?
u
Correct! do you know any solutions?
@Jian Shen Yap Hi sir! do you happen to know a solution to this issue?
j
Hey, sorry for the late reply. We currently don't have a direct API to disable the path, however for best security practice, you can inject any arbritrary middleware that enforces certain security practice. check this: https://docs.bentoml.com/en/latest/guides/security.html#server-side-authentication
an example here
u
Thank you very much for your reply👍