weixin_33671935 2015-12-06 14:42 采纳率: 0%
浏览 32

Http Post URL安全性

I am performing a $http.post to my node.js server with the following

$http.post('http://68.xx.xxx.xxx:3000/login', {foo:'foo'});

I assume it is not best practice to have the IP address of my server unprotected like this? Anyone with a browser can easily see the IP address.

What are the security impacts of this?
And what are the best ways to make this more secure?

I guess since they are interacting with the server anyways they could get the IP address through other methods. So I may be overthinking this.
Is this less dangerous than I fear?

  • 写回答

2条回答 默认 最新

  • weixin_33726318 2015-12-06 14:56
    关注

    There are no direct security implications of using the ip address instead of a domain name, that's because anyone can resolve the ip address from a domain name.

    However, you may have problems when you have to move your server to another hosting (since the ip address will be modified and your application may stop working) or if your hosting provider doesn't guarantee that you'll always have the same ip address.

    评论

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作