Ada 5 karakter di dalam permission file. yaitu:
* r = read - Hanya untuk membaca.
* w = write - Hanya untuk menulis.
* x = execute - Untuk menjalankan mengeksekusi/menjalankan file.
* s = setuid - Ini ditemukan saat mengeksekusi file.
* - = lambang default atau tidak diberi permission.
Ada 2 macam jenis file:
1.File regular = -directory (d)
-file gambar (jpeg,gif,png,dll)
-file musik (mp3,wav,ogg)
-archives file (tar)
2.File Spesial = -Character file (s)
-Blok file (b)
Tipe File: macam-macam tipe file dan simbolnya:
* d = directory
* l = symbolic link
* s = socket
* p = named pipe
* - = regular file
* c = character (unbuffered) device file special
* b = block (buffered) device file special
Senin, 13 April 2009
Script untuk memblok copy paste pada website
Script untuk memblok copy paste pada website:
var message="Sorry, Ngak bisa klik kanan...!";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
lse if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
var message="Sorry, Ngak bisa klik kanan...!";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
lse if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
Arsip Blog
-
►
2008
(5)
- ► 08/31 - 09/07 (2)
- ► 09/14 - 09/21 (1)
- ► 09/21 - 09/28 (1)
- ► 10/19 - 10/26 (1)
-
▼
2009
(9)
- ▼ 04/12 - 04/19 (3)
- ► 04/19 - 04/26 (1)
- ► 04/26 - 05/03 (3)
- ► 05/03 - 05/10 (1)
- ► 07/19 - 07/26 (1)
-
►
2010
(20)
- ► 03/07 - 03/14 (2)
- ► 05/02 - 05/09 (2)
- ► 05/09 - 05/16 (3)
- ► 05/30 - 06/06 (1)
- ► 10/17 - 10/24 (2)
- ► 11/28 - 12/05 (2)
- ► 12/05 - 12/12 (1)
- ► 12/12 - 12/19 (2)
- ► 12/19 - 12/26 (3)
- ► 12/26 - 01/02 (2)
-
►
2011
(8)
- ► 01/16 - 01/23 (1)
- ► 02/06 - 02/13 (1)
- ► 02/27 - 03/06 (3)
- ► 04/03 - 04/10 (1)
- ► 04/17 - 04/24 (1)
- ► 10/09 - 10/16 (1)
-
►
2013
(1)
- ► 02/17 - 02/24 (1)