2012年9月14日 星期五

How-to-Build-CryptDB

Site:http://css.csail.mit.edu/cryptdb/

Indruction:(come from source site)

CryptDB

Online applications are vulnerable to theft of sensitive information because adversaries can exploit software bugs to gain access to private data, and because curious or malicious administrators may capture and leak data. CryptDB is a system that provides practical and provable confidentiality in the face of these attacks for applications backed by SQL databases. It works by executing SQL queries over encrypted data using a collection of efficient SQL-aware encryption schemes. CryptDB can also chain encryption keys to user passwords, so that a data item can be decrypted only by using the password of one of the users with access to that data. As a result, a database administrator never gets access to decrypted data, and even if all servers are compromised, an adversary cannot decrypt the data of any user who is not logged in. An analysis of a trace of 126 million SQL queries from a production MySQL server shows that CryptDB can support operations over encrypted data for 99.5% of the 128,840 columns seen in the trace. Our evaluation shows that CryptDB has low overhead, reducing throughput by 14.5% for phpBB, a web forum application, and by 26% for queries from TPC-C, compared to unmodified MySQL. Chaining encryption keys to user passwords requires 11-13 unique schema annotations to secure more than 20 sensitive fields and 2-7 lines of source code changes for three multi-user web applications.


2012年3月8日 星期四

Ubuntu-11-10-Desktop-Customization-Guide



來源網站:http://news.softpedia.com/news/Ubuntu-11-10-Desktop-Customization-Guide-242549.shtml%E2%80%A6%E2%80%A6


開始:


其實這是在本人的噗浪上看到,因為實驗要用到Ubuntu當底層OS來跑


既然要來跑實驗,弄的順眼一點總是比較好,加上Ubuntu後來改成Unity實在很醜&吃資源


所以看到噗浪人家噗的,進去網站覺得很好玩,既然本人是阿宅


理~所~當~然~改嚕


※改了會不會很吃資源,我不知道,自己的電腦跑起來沒問題


P4,1G RAM,160GB HD

---------------------------------------------------------------------------------

以下FOLLOW:

前置作業

佈景主題的更換:

首先,下載 ZukitwoZukini這兩款字型,然後進入到你的 / home 目錄下


右鍵去建立: .themes,注意,當檔名含有『.』,就表示設定為隱藏檔


如果之後跳出該目錄,那就不太容易進去了,要用終端機模式,很麻煩


所以資料夾建議完畢後,記得馬上enter進去!


下載回來的兩款字型,解壓縮後把丟入.themes資料夾中


接下來開啟Ubuntu的佈景主題控制台,當然,一般的CD光碟安裝其實沒有裝入『進階設定』


這邊的進階設定指的是關於佈景主題的進階設定



那怎麼做呢?很簡單,可以開啟Ubuntu的軟體中心去安裝,或者利用終端機去安裝



"Ubuntu Tweak Tool"找這個就是了,安裝完畢後開啟進階設定



在左邊的窗格選擇:Theme(主題),右邊的的佈景主題就可以選擇themes了



UBUNTU的好處就是,隨點隨換...


--------------------------------------------------------------------------------


系統介面改造:




終端機開啟,執行以下的指令



% sudo add-apt-repository ppa:paullo612/unityshell-rotated


% sudo apt-get update && sudo apt-get install unityshell-rotated libnux-1.0-0 \


compizconfig-settings-manager



注意,第2行指令會造成系統短暫delay,如果系統因此長久無回應,請執行以下的操作


Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u,



Alt+PrntScr+b - 讓洗統安全重開機,避免資料遺失,請依照順序按下



接下來安裝"CompizConfig Setttings Manager"



% apt-get install CompizConfig Setttings Manager



就會自動安裝,然後打開他,找『Ubuntu Unity Plugin Rotated』這個選項,點開



『Launcher icon size』就是去調整圖示大小,這時候可以發現



工作列從左邊切換到下方了!



佈景圖示替換:



% sudo add-apt-repository ppa:tiheum/equinox


% sudo apt-get update && sudo apt-get install faenza-icon-theme


這沒什麼,指令下去就對了


收工:


打開『GNOME Tweak Tool』,找左邊佈景主題設定


照這樣設定:







來源網站:http://goo.gl/9TS5F



英文看不懂就去查,很簡單的。


就這樣,完成!比原本的Unity漂亮多了吧!!


桌布就換上自己喜歡的!(我是整個抄過來XD)