You are here: Re: [PHP] Can I prevent Server variables from being spoofed ? « PHP « IT news, forums, messages
Re: [PHP] Can I prevent Server variables from being spoofed ?

Posted by Andy Pieters on 05/23/05 12:54

On Friday 20 May 2005 20:46, Graham Anderson wrote:
> Can the server variable 'user agent' be modified/spoofed by the user?

I whish people would stop implementing these kinds of things!

Question: do you deny access to your home because the person ringing the bell
is African? Or maybe because he is Muslim? Or because he/she doesn't speak
English? There are laws against discrimination and you shouldn't create
applications that deny access based on where the user comes from, what
browser they use, or what language they speak.

Just because someone is using a browser doesn't mean they can't play QuickTime
movies. In fact, It is something that has been bothering me endlessly. I am
usually forced to hack around the site to find the url of the movie, then do
a wget on that url and xine the resulting file. All that for a lousy 30 sec
movie!

Can you at least think of only one valid reason to do the stuff you ask to do?
I don't think so.


Andy


--
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:

http://www.vlaamse-kern.com/sas/
--

--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация