Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Restricting access to set browsers
Name: Daveco Date: January 9, 2007 at 04:55:28 Pacific OS: Windows XP CPU/Ram: 512MB RAM Product: Dell Dimension 5000
Comment:
Greetings all,
My knowledge of computing is fairly limited, so feel free to treat me as a beginner. I am looking for a way to restrict access to a website to a certain browser(s). IE. Accessible by Internet Explorer, but not via Firefox.
Could this be done by writing a query or IF statement that determined whether a certain browser(s) were being used or not, and if not- being redirected?
My main reason to believe this is possible is that www.officelive.com will only allow users to register if they are using IE.
Any help that you can muster would be greatly appreciated!
Name: Michael J (by mjdamato) Date: January 9, 2007 at 08:22:41 Pacific
Reply:
What type of environment are you developing in? Are you using any server-side languages such as PHP, ASP, etc?
If not, you can use Javascript, but it will only work if the user has Javascript enabled. Many free scripts available. Just do a search for "Javascript browser detect" on google.
Michael J
0
Response Number 2
Name: Daveco Date: January 9, 2007 at 09:21:25 Pacific
Reply:
PHP in all likelyhood. Isn't ASP the microsoft "version" of PHP?
Thanks for your help.
0
Response Number 3
Name: Bob (by BigBob) Date: January 9, 2007 at 11:42:57 Pacific
Reply:
You could try this; <script language="JavaScript" type="text/JavaScript"> if(navigator.appName != "Microsoft Internet Explorer")
" If at first you don't succeed, Please Post Back "
0
Response Number 4
Name: Michael J (by mjdamato) Date: January 9, 2007 at 13:04:42 Pacific
Name: Benjamin78 Date: January 21, 2007 at 09:37:32 Pacific
Reply:
Hello everyone
I would like to bring to your attention the best hosting site http://www.wizwebhost.com have ever known. I am not getting paid for this and I have not been asked to put their ad here. They are such a fantastic company that I want to tell as many people as I can about their site. And they are so inexpensive. http://www.wizwebhost.com and only $3.95/monthly.
Summary: Hi, I have a serial port served as an IP address with its own port (ie. 134.242.434.443:4444) and I would like to be able to send it commands remotely without the client having to download an interfac...
Summary: what are the commands that i would sue in order to block someone from going to a certain part on the site and redirecft them to something else. also, can i restrict access to certain files on the serv...
Summary: I want to set up a web site and would like a little help. Where is the best place to get a name and what's a good price What is and who should be my web host, can I use the space my ISP has for me? I...