随笔分类 -  ASP.NET

c#如何获得硬盘的物理序列号
摘要:using System;using System.Runtime.InteropServices;using System.Management;namespace Hardware{ /// /// Hardware_Mac 的摘要说明。 /// public class HardwareInfo { //取机器名 public string GetHostName() { ... 阅读全文

posted @ 2004-10-07 08:15 LEE 阅读(1194) 评论(1) 推荐(0)

ASP.NET 的安全隐患
摘要:asp.net存在安全隐患,即攻击者可以利用潜在的canonicalization攻击webserver(即利用 ..\.. 欺骗 IIS,从而遍历目录),建议在Global.asax.cs中加入如下代码提高安全性: 阅读全文

posted @ 2004-10-07 08:06 LEE 阅读(276) 评论(0) 推荐(0)

导航