怎么固定若干PC, 除固定的PC 外,不能 Login, 提高安全性

如何固定若干PC, 除固定的PC 外,不能 Login, 提高安全性
现在我是用userId/password登陆的.为了提高安全性.我想让固定的几台机器才能登陆,因为用户权限比较高.服务器端应该如何识别这些固定PC


注:新手.分不多.见谅

------解决方案--------------------
可以用网卡,计算机名,IP,windows的 userid
System.getProperty("user.name") 得到userid

------解决方案--------------------
帮你写一段取MAC地址的代码,自己看吧
Java code

import java.io.InputStreamReader;
import java.io.LineNumberReader;

class Test {

    public static void main(String[] args) {
        Test test = new Test();
        System.out.println(test.getMACAddress());
    }

    public String getMACAddress() {
        String strMacAddr = null;
        try {
            Process process = Runtime.getRuntime().exec("ipconfig /all");
            InputStreamReader ir = new InputStreamReader(process
                    .getInputStream());
            LineNumberReader input = new LineNumberReader(ir);
            String line;
            while ((line = input.readLine()) != null) {
                if (line.indexOf("Physical Address") > 0) {
                    strMacAddr = line.substring(line.indexOf("-") - 2);
                }
            }
        } catch (java.io.IOException e) {
            System.err.println("IOException " + e.getMessage());
        }
        return strMacAddr;
    }
}