私人API端点在公共Azure Serveride Blazor WebApp中
我目前正在开发一个公开访问的外汇服务器端应用程序。在此应用程序中,我有一个API-Endpoint,它将仅从另一个WebApp(也可以在Azure运行)访问。
是否有(简单?)通过Azure限制对此端点的访问的方法?我目前正在使用携带者令牌的身份验证,但希望拒绝除其他WebApp以外的所有人,总体上访问。
不可行的选择是将我的外汇服务器端应用程序和API分配到两个WebApps中。
我的应用程序正在运行.NET 6
I am currently developing a blazor-servers-side application which is publicly accessed. In this application I've got an api-endpoint which will only be accessed from another webapp (also running on azure).
Is there an (easy?) way to restrict access to just this endpoint via Azure? I am currently using an authentication with a bearer token, but want to deny everyone, except the other webapp, access in general.
Splitting my blazor-server-side app and the API into two webapps sadly is not an option.
My App is running on .NET 6
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论