Disable Autorun
ป้องกัน Virus จาก Trump drive โดยการ Disable-autorun
ในปัจจุบันทุกคนที่ใช้ COMPUTER มักจะมี Trump Drive สำหรับเก็บข้อมูลส่วนตัว ซึ่งในบาง trump drive นั้นจะมีโปรแกรม auto-run เพื่อว่าเมื่อเสียบ trump drive ไปแล้ว โปรแกรมจะได้ทำงานได้ทันที ซึ่งจริงๆแล้วตรงนี้เป็นประโยชน์ ทำให้การใช้งานได้สะดวก แต่ในขณะเดียวกัน ก็มีคนจำนวนหนึ่ง กลับใช้ auto-run นี้ ในการแพร่กระจาย virus ทั้งที่น่ารังเกลียด คือการให้โปรแกรม auto-run ทำการขโมย หรือ ลบ ข้อมูลในเครื่อง computer ที่เสียบ trump drive นั้นเข้า

ซึ่งจะได้ภาพ
วิธีที่จัดการปัญหานี้ แนะนำให้ disable auto-run ไปเลย ซึ่งน่าจะเป็นการดีกว่าที่ปล่อยให้ trump drive หรือ CD ที่มี auto-run ทำงานมาขโมยข้อมูลต่างๆของเรา
วิธีการ disable-autorun ใน window XP นั้นทำได้ง่ายมาก
1. เรียกโปรแกม gpedit.msc

2. Click ที่ Aminstator Templates/System/Trun off Autoplay

3. แก้ไขเป็น Eabled และ All drives

4. Click OK / Reboot
ให้ทดสอบง่ายๆ ด้วยการเสียบแผ่น CD ที่มีโปรแกรม autorun ต่างๆดู จะเห็นว่าโปรแกรมจะไม่ได้ขึ้นมาอัตโนมัติ เพียงเท่านี้ เครื่อง computer ของคุณก็ลดความเสี่ยงต่อการถูก Hack / Virus ได้
FreeBSD Technologies in New Firefox 3 Browser
Boulder, CO (PRWEB) June 23, 2008 — Mozilla this week released the highly anticipated Firefox 3 browser. The FreeBSD Project congratulates the Mozilla project on a multi-year effort that culminated in a product that is both faster and more secure than its predecessors, with innovative new features. Several important features of the Firefox browser were incorporated from technologies adopted from the FreeBSD project. Technology from the FreeBSD project has a long history of being used inside other open source projects such as Firefox.
Requesting Ubuntu FREE CDs
Requesting CDs from ShipIt
Kubuntu is available free of charge and we can send you CDs of the latest version (8.04 (Hardy Heron)) with no extra cost, but the delivery may take up to ten weeks, so you should consider downloading the CD images if you have a fast Internet connection.
Compute and Verify Hash Value Using C#
ฟังก์ชันสำหรับคำนวนค่า Hash ของไฟล์ โดยสนับสนุนอัลกอริทึ่ม MD5, SHA-1, SHA-256, SHA-384, SHA-512
Read more »
Working with Files in C#
This article was contributed by Anand Narayanaswamy.In this article, you will learn how to manipulate directories and files in your system. Further, we will discuss how to read from and write to a file by using the powerful .NET classes.
Read more »
Get File Extension Using C#
private string getFileExtension(string fileName)
{
string extension=””;
char []arr=fileName.ToCharArray();
int index=0;
for(int i=0;i<arr.Length;i++)
{
if(arr[i]==’.’)
{
index=i;
}
}
for(int x=index+1;x<arr.Length;x++)
{
extension=extension+arr[x];
}
return extension;
}
How to loop through all files in a folder using C#
// How much deep to scan. (of course you can also pass it to the method)
const int HowDeepToScan=4;
public static void ProcessDir(string sourceDir, int recursionLvl)
{
if (recursionLvl<=HowDeepToScan)
{
// Process the list of files found in the directory.
string [] fileEntries = Directory.GetFiles(sourceDir);
foreach(string fileName in fileEntries)
{
// do something with fileName
Console.WriteLine(fileName);
}
// Recurse into subdirectories of this directory.
string [] subdirEntries = Directory.GetDirectories(sourceDir);
foreach(string subdir in subdirEntries)
// Do not iterate through reparse points
if ((File.GetAttributes(subdir) & FileAttributes.ReparsePoint) != FileAttributes.ReparsePoint)
{
ProcessDir(subdir,recursionLvl+1);
}
}
}
Source: weblogs.asp.net
Leave a Comment
Leave a Comment
Leave a Comment