yar icon indicating copy to clipboard operation
yar copied to clipboard

是否可以在yar添加认证

Open skaic opened this issue 10 years ago • 3 comments

由于接口会曝露在外网(跨机房调用),希望可以在yar加权限认证。

skaic avatar Apr 23 '14 03:04 skaic

权限认证,不应该在应用中自行处理吗?比如sign || RSA ?

2014-04-23 11:31 GMT+08:00 skai [email protected]:

由于接口会曝露在外网(跨机房调用),希望可以在yar加权限认证。

— Reply to this email directly or view it on GitHubhttps://github.com/laruence/yar/issues/25 .

Neeke avatar Apr 23 '14 04:04 Neeke

@Neeke
其实只是需要简单的认证,例如通过传递个密匙来通信。就好比http协议本身也会提供 Authentication 这样的协议支持。

skaic avatar Apr 23 '14 04:04 skaic

yeap

可以搞。

在 2014年4月23日 下午12:55,skai [email protected]写道:

@Neeke https://github.com/Neeke

其实只是需要简单的认证,例如通过传递个密匙来通信。就好比http协议本身也会提供 Authentication 这样的协议支持。

— Reply to this email directly or view it on GitHubhttps://github.com/laruence/yar/issues/25#issuecomment-41124734 .

Neeke avatar Apr 23 '14 05:04 Neeke