The anti-forgery token accepts a salt value. Is there any security concerns regarding choosing the salt, such as
- minimum length requirements
- cryptographically strong
- mix of alpha-numeric and other characters (like that of passwords)
Also, is the salt value viewable by the client? Looking at the source code, it seems to be prepending the salt value to the cookie.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…