|
Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
|
|
|
|
ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2007.1.20 Åä, 3:51 am ÁÖÁ¦: php¿¡¼ ¾÷·Îµå ÆÄÀÏ ¹ÙÀÌ·¯½º °Ë»çÇϱâ |
|
|
¹«·á AntivirusÅøÀÎ ClamAV( http://clamav.net/ )Àº sendmail + ClamAV Á¶ÇÕÀ¸·Î ¼ö½ÅµÇ´Â ¸ÞÀÏÀÇ ¹ÙÀÌ·¯½º¸¦ °Ë»çÇÒ ¼öµµ ÀÖ°í, À©µµ¿¡¼´Â ClamAV ¹ÙÀÌ·¯½º ¿£ÁøÀ» »ç¿ëÇÑ ClamWin( http://www.clamwin.com/ )À¸·Î ¹ÙÀÌ·¯½º °Ë»ç¸¦ ÇÒ ¼ö ÀÖ´Ù. ¹Ù·Î ÀÌ clamavÀÇ php¿ë ¶óÀ̺귯¸®ÀÎ php-clamavlibÀ¸·Î php¿¡¼ ¹ÙÀÌ·¯½º¸¦ °Ë»çÇÏ´Â ¹æ¹ýÀ» 'How To Automatically Scan Uploaded Files For Viruses With php-clamavlib'¿¡¼ ¼Ò°³ÇÏ°í ÀÖ´Ù.
http://www.howtoforge.com/scan_viruses_with_php_clamavlib
»ç¿ëÀº °£´ÜÇÏ´Ù.
1. php-clamavlib php extensionÀ» ¼³Ä¡ÇÏ°í
2. php.ini À» ¼³Á¤
ÄÚµå: |
[...]
extension=clamav.so
[clamav]
clamav.dbpath=/var/lib/clamav
clamav.maxreclevel=0
clamav.maxfiles=0
clamav.archivememlim=0
clamav.maxfilesize=0
clamav.maxratio=0
|
3. cl_setlimits() ÇÔ¼ö·Î °Ë»ç Á¶°Ç ¼³Á¤ÇÑ ÈÄ
4. ¾÷·Îµå ÆÄÀÏÀ» cl_scanfile(ÆÄÀÏ°æ·Î) ÇÔ¼ö·Î °Ë»çÇÑ ÈÄ return °á°ú¿¡ ó¸®ÇÏ¸é µÈ´Ù.
5. ±×¸®°í, cl_info()°ú clam_get_version() ÇÔ¼ö·Î clamAV Á¤º¸¸¦ ¾òÀ» ¼ö ÀÖ´Ù.
Áß¿äÇÑ °ÍÀº freshclamÀ¸·Î Virus DB¸¦ ¾÷±×·¹À̵åÇØÁà¾ß ÃֽŠ¹ÙÀÌ·¯½º±îÁö °Ë»ç°¡ °¡´ÉÇÏ´Ù.
[ À̹ÌÁö Ãâó : À§¿¡ ¼Ò°³ÇÑ URL¿¡¼ ]
|
|
À§·Î |
|
|
|
|
»õ·Î¿î ÁÖÁ¦¸¦ ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù ´ä±ÛÀ» ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù ÁÖÁ¦¸¦ ¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù ¿Ã¸° ±ÛÀ» »èÁ¦ÇÒ ¼ö ¾ø½À´Ï´Ù ÅõÇ¥¸¦ ÇÒ ¼ö ¾ø½À´Ï´Ù
|
Powered by phpBB © 2001, 2005 phpBB Group
|