Forums Register Login

only browsers allowed at my site.

+Pie Number of slices to send: Send
i want to create a filter which should check whether request is from browser or not,
if yes then only allow.

so i am checking for header User-Agent
i want to know what can be possible values of User-Agent are for different browsers of different version

i have 4 different browsers installed on my pc.

OPERA 7.54 = Opera/7.54u1 (Windows NT 5.0; U) [en]

IE6 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

NETSCAPE 7.2 = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)

MOZILLA FIREFOX 1.0 = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

if any one having browser other than the above 4 please go to
http://www.myjavaserver.com/~hasstar/aboutserver.jsp

and check User-Agent and tell me, it will be good help for me.
+Pie Number of slices to send: Send
I know of command line programs that submit requests and set the User-Agent to appear like a browser....
+Pie Number of slices to send: Send
what to do then ?
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 572 times.
Similar Threads
firefox vs. ie
Struts 2 + Number format
HttpUrlConnection is not working
getting users OS information
Making HttpURLConnection look like MS Explorer/firefox/opera etc
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:25:51.