|We don't bite newbies here... much|
Re^5: Can Perl read CPU id?by dragonchild (Archbishop)
|on Feb 10, 2005 at 19:11 UTC||Need Help??|
Is it really so bad for someone to try to get the cpu id of a computer tha is accessing his own (lets say for instance web server) via http protocol?
Yes, it is. The difference is that I, as a consumer, am providing you with exactly as much information as I want to provide - namely the following:
All of that is my choice to give you. I can, if I want, refuse to provide you with the vast majority of that information.
Now, you have chosen to expose your computer to the rest of the world by hosting a webserver. As such, you are agreeing to, for free1, provide access to certain files, your processing power, your RAM, etc. No-one has asked you to do so and you can take down your webserver at any time and no-one has any right to complain2.
Now, you also have the right to refuse to provide webpages to people who refuse to provide you with what you deem to be sufficient information. Corporate websites do this all the time. For every corporate website I have ever built, we have required that cookies be turned on. This is so that we can track who is logged in as whom. Now, you may not like this decision. If you don't, then don't use that corporate website. You don't have a right to use a corporate website. But, the webserver provider doesn't have the right to just walk into my computer and look around.
The server is "his sever" and he has the right to know/keep logs for anyone trying to access hsi server for any reason!
Yes, you're absolutely right. The administrator has the right to keep logs for the information that a client has chosen to provide (as detailed above). Now, if you feel you have to know the CPUID and MAC address of people using your website, then you have the right to demand the any and all of the following before allowing someone to access your website.
Of course, as you have noted before, the more restrictions you place upon your users, the less users you're likely to have. But, that's your choice.
Let me propose something to you - would you like Perlmonks to look around your computer every request you make and verify that you have not installed Java? Because, to look up a CPUID or MAC address would be providing the same sort of access that Perlmonks would need to determine if you have Java installed ...
Being right, does not endow the right to be rude; politeness costs nothing.