2009年10月28日星期三

Women in IT Security Project Management created on SANS Reading Room

Category: Management & Leadership

Paper Added: October 27, 2009

Download

VMware 發布更新VMSA-2009-0015

VMware 於 2009-10-27 日發布更新 VMSA-2009-0015,修正兩個於 VMware Workstation, Player, ACE, Server, Fusion, ESXi 及 ESX 等產品的安全弱點,詳見:

http://lists.vmware.com/pipermail/security-announce/2009/000069.html

2009年4月8日星期三

Free security awareness training on-line from InfraGard

InfraGard 推出免費線上資安訓練推廣,網址是http://www.infragardawareness.com,屬於入門課程,不是很艱難,適合大眾閱讀。

2009年3月5日星期四

Java:使用 Get Method 傳遞中文參數 without 亂碼

ex:

http://website/test.jsp?dep=臺北市政府警察局

test.jsp

<%@ page language=”java” import=”java.util.*” pageEncoding=”utf-8”%>

<%

   String dep = request.getParameter(“dep”);

   String department = new String(dep.getBytes(“iso-8859-1”), “utf-8”);

%>

2009年1月18日星期日

Windows Live Message 無法登入 - 錯誤訊息 8004888d

這兩天 msn 不知為何不能登入,在 google 了一些 solution 之後,只有下面這個可以用:

  1. 開始 > 執行 > 輸入 regedit
  2. 找到 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SystemCertificates\TrustedPublisher
  3. 把其中的 Safer 資料夾砍掉
  4. 完成

至於為什麼,我也不知道。

2009年1月15日星期四

利用 Wget + Crontab 定期執行 Web app

某些資料量大的網站會定期將龐大的資料表定期轉換成 summary table,此時可利用原本的 dynamic page 實作,並利用 linux 下的 wget + crontab 定期執行。

例如網站管理者希望每十分鐘自動執行 http://192.168.0.1 這台伺服器上的 refresh.php 這個網頁,則將在 crontab 下加入下列指令:

*/10 * * * * wget –q –O – http://192.168.0.1/refresh.php

===== 參數說明 =====

-q : quite 背景執行,不顯示結果

-O : output 輸出位置,後面加上 「-」表示不另外儲存

另外如果程式需要做參數傳遞的話,可以使用 Querystring (GET method),或是使用 wget 提供的 POST 字串傳值,如:

--post-data=STRING use the POST method; send STRING as the data.

--post-file=FILE use the POST method; send contents of FILE.

2008年12月9日星期二

【書摘分享】管好時間做對事

人生的一切失敗與後悔,皆因沒有「管好時間做對事」。

學習時間管理的學員中,有近90%的人在不到一個月內就會回復原來的狀態之中。也就是說,儘管他們學習到一種時間管理的技巧

當時覺得很有效並且決定開始運用於生活之中,但大多數人還是會在幾個星期內就放棄。

如果對以上問題的回答是肯定的。那麼本書就可以幫助你。

書摘分享:管好時間做對事