how to restrict web access for a wap site?
Written By dotcommakers on Feb. 4, 2008.
1 Comments
Report Note
+ Clip This
hello friends
i am developing a wap site with .net domain and with php.
To stop linking/abuse of direct file access via web, I want to restrict web access. so when some one visit my wap site via web browser, it should not work
any help?

Oli
Written Feb. 4, 2008 / Report /
I would usually say: don't bother; but you seem like you have a fair enough reason. You want to look into browser sniffing. Here's a php article on doing it.
I would concentrate on blocking the big 4 browsers: Mozilla, IE, Safari and Opera. You can get the strings you're looking for from user-agents.org.