应该根据自己的安全需求,只使用允许列表或拒绝列表之一。
Just have one list, either an allow list or deny list depending on what your security requirements are.
如果用户ID没有在允许列表中列出,就不能连接,无论拒绝列表包含哪些用户。
If the user ID is not listed in the allow list, then you are not connecting, no matter what is contained in the deny list.
从本质上讲,您可以创建可能的凭据(或公钥)列表,以便与这里传入的负载匹配,并拒绝任何不匹配的负载。
Essentially, you can create a list of possible credentials (or public keys) to match with the incoming payload here and reject any that don't match.
应用推荐