RRL
0D
V2EX  ›  问与答

Django 中使用 django.middleware.csrf.CsrfViewMiddleware 的价值

  •  
  •   RRL · Feb 15, 2015 · 2534 views
    This topic created in 4196 days ago, the information mentioned may be changed or developed.
    学习django web开发 遇到问题

    django.middleware.csrf.CsrfViewMiddleware的作用在哪里,要不要使用呢

    小白在此谢过了
    3 replies    2015-02-15 14:34:13 +08:00
    booksmith
        1
    booksmith  
       Feb 15, 2015 via Android
    就是防止csrf攻击用的
    imlonghao
        2
    imlonghao  
       Feb 15, 2015 via Android
    CSRF
    RRL
        3
    RRL  
    OP
       Feb 15, 2015 via Android
    @booksmith 感谢😊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   962 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 19:29 · PVG 03:29 · LAX 12:29 · JFK 15:29
    ♥ Do have faith in what you're doing.