param($a,$b )#region 关键代码:强迫以管理员权限运行$currentWi =[Security.Principal.WindowsIdentity]::GetCurrent()$currentWp =[Security.Principal.WindowsPrincipal]$cu...
分类:
其他好文 时间:
2014-06-28 10:32:29
阅读次数:
797
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using ...
分类:
Web程序 时间:
2014-06-25 21:16:23
阅读次数:
263
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro...
分类:
Web程序 时间:
2014-06-25 19:35:14
阅读次数:
262
前两节我们介绍了vmrc sdk的基本用法。在前面的demo中,有一个关键的问题是,我们现在所作的工作都是基于局域网的,作为应用层面上,主机不会直接暴露给用户,而是通过一系列的web service服务分配内网主机资源。那么我们这里可以做的是公网私网端口映射。这里我们用一个port mapping来...
分类:
其他好文 时间:
2014-06-25 18:22:45
阅读次数:
313
解决方法如下 On the Windows 7 machine:Run secpol.mscDrill down through Local Policies | Security Options.Find Network Security: LAN Manager authentication l...
我们来看Interfaces ofport: OpenFlow port number for this interface. type: system: An ordinary network device, e.g. eth0 on Linux. internal: A simulated ne...
分类:
其他好文 时间:
2014-06-24 12:23:51
阅读次数:
316
http://www.h3c.com.cn/Products___Technology/Technology/Security_Encrypt/Other_technology/Representative_collocate_enchiridion/201010/697325_30003_0.ht...
分类:
Web程序 时间:
2014-06-24 11:32:01
阅读次数:
318
随时修改: 1 [mysqld] 2 #basedir= 3 datadir=/var/lib/mysql 4 #mysql.default_port=3306 5 #mysql.default_socket=/tmp/mysql.sock 6 socket=/var/lib/mysql/mysql...
分类:
数据库 时间:
2014-06-22 10:53:32
阅读次数:
277
LINUX平时工作中用到的常用命令:scp是有Security的文件copy,基于ssh登录。操作起来比较方便,比如要把当前一个文件copy到远程另外一台主机上,可以如下命令。scp/home/1.gifroot@172.19.2.75:/home/root然后会提示你输入另外那台172.19.2.75主机的root用户的登录密码,接着就..
分类:
系统相关 时间:
2014-06-22 10:23:46
阅读次数:
211
安全性要求高的应用程序必须避免使用不安全的或者强度弱的加密算法,现代计算机的计算能力使得攻击者通过暴力破解可以攻破强度弱的算法。例如,数据加密标准算法DES是极度不安全的,使用类似EFF(Electronic Frontier Foundaton) Deep Crack的计算机在一天内可以暴力破解由DES加密的消息。
[不符合安全要求的代码示例]
下面的代码使用强度弱的DES...
分类:
编程语言 时间:
2014-06-22 07:08:44
阅读次数:
239