VS2013#define_CRT_SECURE_NO_WARNINGS1
#include<assert.h>
#include<iostream>
usingnamespacestd;
//在实现日期之间的运算之前,要先进行日期是否非法的检查
classDate
{
public:
Date(intyear,intmonth,intday)//构造函数
{
if(year>=2000&&..
分类:
编程语言 时间:
2016-01-16 19:43:28
阅读次数:
201
1.网络请求报错。升级Xcode 7.0发现网络访问失败。输出错误信息The resource could not be loaded because the App Transport Security policy requires the use of a secure connection....
分类:
移动开发 时间:
2016-01-15 06:26:26
阅读次数:
1843
The easiest way to secure the broker is through the use of authentication credentials placed directly in the broker’s XML configuration file. Such fun...
分类:
其他好文 时间:
2016-01-13 12:58:52
阅读次数:
164
SSL(Secure Sockets Layer,安全套接层),及其继任者 TLS(Transport Layer Security,传输层安全)是为网络通信提供安全及数据完整性的一种安全协议。TLS与SSL在传输层对网络连接进行加密。为Netscape所研发,用以保障在Internet上数据传输之...
分类:
其他好文 时间:
2016-01-12 15:23:22
阅读次数:
145
/etc/hosts.deny:俗称黑名单,控制远程访问设置。#!/bin/bash//程序开始
#File:hosts_deny.sh
#Date:2016-01-10
grep‘Failedpassword‘/var/log/secure|awk‘{print$11}‘|uniq-c|sort|//取出日志中登录失败的IP并统计排序
whilereadab//读取统计结果
do
grep-q$b/etc/hosts...
分类:
系统相关 时间:
2016-01-11 01:38:23
阅读次数:
352
一。什么是vsftpd vsftpd(very secure FTP daemon) ,是一个有很高安全性的运行在类UNIX上的FTP服务器。为了高安全性,它运行在chroot模式下,chroot模式就是为程序单独指定一个新的目录,它也就不能访问这个目录以外的内容了。二。什么是FTPFTP会话时包....
分类:
其他好文 时间:
2016-01-09 18:19:12
阅读次数:
194
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<stdlib.h>
enumSTATE
{
Free,
Busy
};
structsubAreaNode
{
intaddr;//起始地址
intsize;//分区大小
inttaskId;//作业号
STATEstate;//分区状态
subAreaNode*pre;//分区前向指针
subAreaNo..
分类:
其他好文 时间:
2016-01-07 01:26:01
阅读次数:
354
I haveboughtmy SSL secure certificate and successfully installed on Tomcat with the keytool but how domy redirect the entire site to go HTTPS and redi...
分类:
Web程序 时间:
2016-01-07 01:08:50
阅读次数:
188
/var/log常用的系统日志如下:核心启动日志:/var/log/messages系统报错或重启服务等日志:/var/log/messages邮件系统日志:/var/log/maillogcron(定制任务日志):/var/log/cron#计划日志执行成功与否,在这个文件中验证系统用户登录:/var/log/secure记录所有的登录和登出:/va..
分类:
其他好文 时间:
2016-01-04 18:24:54
阅读次数:
299
JAVA中为我们提供了丰富的加密技术,可以基本的分为单向加密和非对称加密 1.单向加密算法 单向加密算法主要用来验证数据传输的过程中,是否被篡改过。BASE64 严格地说,属于编码格式,而非加密算法MD5(Message Digest algorithm 5,信息摘要算法)SHA(Secure Hash Algorithm,安全散列算法)HMAC(Hash Message Authenticati...
分类:
编程语言 时间:
2016-01-04 18:16:21
阅读次数:
237