Secure Token URL - How secure is it? Proxy authentication as alternative?

前端 未结 3 1425
太阳男子
太阳男子 2021-02-15 18:43

I know it as secure-token URL, maby there is another name out there. But I think you all know it.

Its a teqniuque mostly applied if you want to restrict content delivery

3条回答
  •  孤独总比滥情好
    2021-02-15 19:19

    You have many ways to secure a token :

    • Block IP after X failed token decoding
    • Add a timestamp in your token (hashed or crypted) to revoke the token after X days or X hours
    • My favorite : use a fast database system such as Memcached or better : Redis to stokre your tokens
    • Like Facebook : generate a token with timestamp, IP etc... and crypt it !

提交回复
热议问题