• 请不要在回答技术问题时复制粘贴 AI 生成的内容
rv54ntjwfm3ug8
V2EX  ›  程序员

ASP.NET Core 的 Cookie Authentication 使用的是什么密钥加密存在 Cookies 用户数据?安全性怎么样?

  •  
  •   rv54ntjwfm3ug8 · Apr 9, 2022 · 1725 views
    This topic created in 1504 days ago, the information mentioned may be changed or developed.
    3 replies    2022-04-12 19:06:54 +08:00
    hervey0424
        1
    hervey0424  
       Apr 9, 2022
    应用启动后会在 C:\Users\用户名\AppData\Local\ASP.NET\DataProtection-Keys 生成一个密钥文件, 有效期应该是三个月, 过期后会自动重新生成
    thtznet
        2
    thtznet  
       Apr 9, 2022
    asp.net core SPA ?真的么?真的有人用 Blazor 写 SPA 么?太棒了。
    forgottencoast
        3
    forgottencoast  
       Apr 12, 2022
    @thtznet SPA 不一定要用 Blazor 写呀,没有 Blazor 之前大家也一样写 SPA 。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5343 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 05:54 · PVG 13:54 · LAX 22:54 · JFK 01:54
    ♥ Do have faith in what you're doing.