amazon-cognito - aws cognito 如何为未经身份验证的用户安全地保存 identityId?
问题描述
使用 cognito,我可以获得代表“我”的“未经身份验证”的身份标识。cognito 如何防止别人自称是“我”?
GetCredentialsForIdentityRequest request = new GetCredentialsForIdentityRequest();
request.setIdentityId("us-west-2:639dc6e0-1f14-4c0a-9a08-a48c742f5395"); //Could I just enter whatever identity Id I want here? Is knowing what the identityId is the security? Is that really secure?
GetCredentialsForIdentityResult result = cognitoIdentityClient.getCredentialsForIdentity(request);
AWS JAVA SDK 中显示的代码
解决方案
推荐阅读
- vb.net - 使用文本框背景色
- c - 哥德巴赫猜想 - 如何包括定义开始和结束以获得输出
- ssis - 从 ssis 中的两个不同服务器传输数据
- javascript - nodejs中这两个异步函数有什么区别?
- javascript - 对于这种情况 dom javascript,如何使用服务器发送的事件来显示控件元素?
- python - Seaborn barplot 中的错误栏问题 - Python
- angular - 使用 DatePicker 无法加载资源错误
- swift - 是什么让 Swift 中的调用变得昂贵?
- android - Android - 使用静态布局在位图底部绘制文本
- python - 如何通过 GridSearchCV 打印最佳参数进行 k 折交叉验证