2021年1月1日星期五

When managing user secrets, must the Guid number in the project file be hidden?

When managing user secrets, a guid number is written in the project file for reference, like this:

<PropertyGroup>      <TargetFramework>net5.0</TargetFramework>      <UserSecretsId>pc183z95-o1t5-1245-u6z2-wfb29d1dq521</UserSecretsId>  </PropertyGroup>  

Is it a security risk to expose this number in a public repository like Github? I understand that the purpose is to simply hide sensitive information by isolating them from the project. That way only someone with access to our local machine can see them. But what about this guid number? Must it be hidden?

https://stackoverflow.com/questions/65534860/when-managing-user-secrets-must-the-guid-number-in-the-project-file-be-hidden January 02, 2021 at 08:02AM

没有评论:

发表评论