Are there any security issues leaving the PDB debug files on the live servers?

前端 未结 7 1675
抹茶落季
抹茶落季 2020-12-13 20:12

Are there any security issues keeping the .NET PDB files on the real server?

I know that throwing exceptions might take a bit longer , but who throws exceptions duri

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-13 20:29

    The only problem you may encounter when publishing .PDB files to your website is when an exception occurs, and you forgot to set the CustomErrors property in web.config. The stack trace will be displayed with file names and line numbers, which may be a security problem.

    I don't think there are any other risks.

提交回复
热议问题