Securing my ASP.net MVC3 Website aganist “Click jacking”

后端 未结 3 1868
盖世英雄少女心
盖世英雄少女心 2021-01-05 00:35

Recently I was flipping through some security issues faced by websites. Fortunately come across a new term \"Click jacking\"

I understood that this attack happens on

3条回答
  •  自闭症患者
    2021-01-05 00:44

    Just put following code under section in web.config file

    
      
        
      
    
    

    NOTE : The X-Frame-Options header may contain one of three tokens.You either add any of these.Each one has its own significance.

    • DENY
    • SAMEORIGIN
    • ALLOW-FROM origin

    For details visit MSDN blog : Combating ClickJacking With X-Frame-Options

提交回复
热议问题