[英]token authentication - Enable or Disable anonymous authentication
When setting up token authentication it always recommends to enable anonymous authentication, and disable all others.设置令牌身份验证时,它始终建议启用匿名身份验证,并禁用所有其他身份验证。
I found today that even if I disable anonymous authentication the token is still validated by my server.我今天发现,即使我禁用匿名身份验证,我的服务器仍然会验证令牌。 I would have thought that would have blocked all access to the server.
我原以为这会阻止对服务器的所有访问。
Should anonymous authentication be enabled or disabled when using token authentication.使用令牌身份验证时应该启用还是禁用匿名身份验证。 Can you also explain the reason
能否也解释一下原因
Thanks in advance提前致谢
when you disable the anonymous authentication no one can access your site even authenticated users can not able to access it.当您禁用匿名身份验证时,任何人都无法访问您的站点,即使经过身份验证的用户也无法访问它。 enable anonymous authentication allow authenticated users to access the site.
启用匿名身份验证 允许经过身份验证的用户访问该站点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.