简体   繁体   English

如何在 AWS EC2 中隐藏 HTTP 端点?

[英]How to hide a HTTP endpoint in AWS EC2?

We have a nodeJS server running in AWS EC2 instance, It has many endpoints that should be exposed to the web client on the inte.net, but we don't want to expose a particular endpoint(eg: /health status alone) to the public.我们有一个在 AWS EC2 实例中运行的 nodeJS 服务器,它有许多端点应该暴露给 inte.net 上的 web 客户端,但我们不想暴露特定的端点(例如:/health status)上市。 Any idea how can we do that.知道我们该怎么做。 Thanks in Advance.提前致谢。

Hey there @Srikanth Ganesan,嘿@Srikanth Ganesan,

I am not sure on whether we can hide the endpoints as I am also trying a way where we can hide the endpoints which is a RESTFul client.我不确定我们是否可以隐藏端点,因为我也在尝试一种我们可以隐藏作为 RESTFul 客户端的端点的方法。 But instead there are options instead of hiding rather,但相反,有选项而不是隐藏,

  • Introduce authentication using tokens.引入使用令牌的身份验证。
  • Introduce any encryption algorithm while passing.通过时引入任何加密算法。

Hope this helps in way.希望这会有所帮助。

Cheerio切里奥

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM