Generating a unique *and* random URL in C#

前端 未结 5 789
孤街浪徒
孤街浪徒 2021-02-08 04:44

My ultimate goal is to create a URL that is unique and cannot be guessed/predicted. The purpose of this URL is to allow users to perform operations like verifying their email ad

5条回答
  •  灰色年华
    2021-02-08 05:24

    A Guid is not meant to be a security feature. The standards for creating a Guid make no claims about how secure it is, or how easy/hard it is to guess. It simply makes a claim about it's uniqueness.

    If you attempt to secure your system by using a Guid then you will not have a secure system.

提交回复
热议问题