我正致力于安全实施,并且我开发了IP
过滤安全应用程序。所以我想知道如果用户的HTTP
不在预期范围内,应该返回哪个IP
错误代码?
答案 0 :(得分:1)
403 - 禁止
答案 1 :(得分:0)
首先,如果你的应用程序在服务器上运行......以下是合适的......
403 - Forbidden
403状态代码表示client cannot access the requested resource
。这可能意味着wrong username
和password
已在请求中发送,或permissions on the server do not allow what was being asked
。