Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   JavaScript and Client-Side Browser Scripting (http://www.programmingforums.org/forum23.html)
-   -   Need javascript for the following, read here (http://www.programmingforums.org/showthread.php?t=9284)

DBZ Apr 9th, 2006 9:43 AM

Need javascript for the following, read here
 
Password protection
Blocking users by IP
Blocking bad bots and site rippers (aka offline browsers)
Preventing hot linking of your images and other file types

I need those stuff for my site in javascript not .htacess files

mongeau Apr 9th, 2006 10:23 AM

Quote:

Originally Posted by DBZ
Password protection
Blocking users by IP
Blocking bad bots and site rippers (aka offline browsers)
Preventing hot linking of your images and other file types

I need those stuff for my site in javascript not .htacess files

Too bad Javascript can be read by anyone, so if you keep passwords protected on your site, people will be able to see them. Why are you against .htaccess files? It is the simplest, and best solution for you. :rolleyes:

crawforddavid2006 Apr 9th, 2006 10:33 AM

This is the Java forum... please use the JavaScript/VBScript Forum

DaWei Apr 9th, 2006 11:22 AM

Javascript is not Java. Access to the server cannot be restricted by a client (except for that one client). Code distributed to each client in an attempt to distribute server-access control methods is like shoveling shit against the tide. Go study the client/server paradigm. You are preceded by many successful designers. Their conclusions are worth studying before you unilaterally decide they're worthless and discard them.

mongeau Apr 9th, 2006 11:32 AM

Quote:

Originally Posted by DaWei
Code distributed to each client in an attempt to distribute server-access control methods is like shoveling shit against the tide.

I literally snorted my morning cereal out of my nose when I read that! :D

DaWei Apr 9th, 2006 2:45 PM

Be thankful it wasn't scotch. That stuff burns unless you have a good buildup of boogers.

DBZ Apr 9th, 2006 7:16 PM

DaWei are you insulting me?

Toro Apr 9th, 2006 7:28 PM

Quote:

Originally Posted by DaWei
Be thankful it wasn't scotch. That stuff burns unless you have a good buildup of boogers.

lol and again DBZ, Javascript != Java.

Java = Application/Programs like Limewire, Notepad, or etc.
Javascript = Dynamic Web Pages like wwe.com, yahoo.com, etc.

Mjordan2nd Apr 9th, 2006 7:44 PM

Quote:

Originally Posted by DBZ
DaWei are you insulting me?

No, it seems to me that he's simply making a suggestion.

~Moved

Toro Apr 9th, 2006 7:55 PM

Quote:

Originally Posted by Mjordan2nd
~Moved

I wish I had power like that, lol.


All times are GMT -5. The time now is 12:34 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC