开源j4cms使用技术,SpringMVC,Spring Security, Hibernate, jQuery及其扩展插件,Tiles2和FreeMark。.html请求,页面与数据库缓存Ehcache,顶住高访问量,页面缓存可设置启用关闭。...
                            
                            
                                分类:
编程语言   时间:
2014-06-16 12:00:02   
                                阅读次数:
324
                             
                         
                    
                        
                            
                            
                                sql与mysql的比较
1、连接字符串
sql  :Initial Catalog(database)=x;  --数据库名称
      Data Source(source)=x;        --服务器
      Persist Security Info=True;   --集成sql server身份验证
      Integrated Security=True...
                            
                            
                                分类:
数据库   时间:
2014-06-15 20:17:11   
                                阅读次数:
327
                             
                         
                    
                        
                            
                            
                                这几天学习了一下Spring Security3.1,从官网下载了Spring Security3.1版别进行操练,通过屡次测验才摸清了其间的一些原理。自己不才,希望能协助大家。还有,这次我第2次写博客啊,文体不是很行。希望能让观看者不发生疲乏的感受,我现已心满意足了。一、数据库构造 先来看一下数....
                            
                            
                                分类:
编程语言   时间:
2014-06-15 06:48:23   
                                阅读次数:
197
                             
                         
                    
                        
                            
                            
                                1.HttpSessionContextIntegrationFilter位于过滤器顶端,第一个起作用的过滤器。用途一,在执行其他过滤器之前,率先判断用户的session中是否已经存在一个SecurityContext了。如果存在,就把SecurityContext拿出来,放到SecurityCon...
                            
                            
                                分类:
编程语言   时间:
2014-06-13 00:01:20   
                                阅读次数:
313
                             
                         
                    
                        
                            
                            
                                package cn.sevennight.test;import 
java.security.MessageDigest;public class md5{ public static String MD5(String 
text) { try { MessageDigest md = ...
                            
                            
                                分类:
编程语言   时间:
2014-06-12 11:11:00   
                                阅读次数:
302
                             
                         
                    
                        
                            
                            
                                Whatis it and why should I care?
X-Frame-Options(在草拟的标准中已经移除X-,只保留Frame-Options)是一个新技术用来指定网站页面是否允许嵌入IFrame页面。这样能够解决点击劫持(clickjacking)攻击。
此技术是基于每个页面的HTTP响应头特定参数实现的。支持(X-)Frame-Options头参数的浏览器根据标准会允许或禁...
                            
                            
                                分类:
编程语言   时间:
2014-06-11 06:20:49   
                                阅读次数:
362
                             
                         
                    
                        
                            
                            
                                git可以add to index-->commit。但在pull的时候出现: org.eclipse.jgit.api.errors.transportexception。
解决办法:
Eclipse  windows-->preferences-->general-->security-->secure storage-->contents-->GIT.
选中ssh后点击delete。
...
                            
                            
                                分类:
系统相关   时间:
2014-06-10 18:29:59   
                                阅读次数:
3547
                             
                         
                    
                        
                            
                            
                                在网上找到解决方案:SolutionEnable RDP security layer in 
Group Policy on the machine:Verify that the firewall allows remote desktop 
connections with RDP (Port 3...