View Full Version : HELP!! need to block by IP with Javascript

11-10-2003, 01:07 AM
I have a website through my university and can't seem to use .htaccess. Whenever I upload .htaccess through WS_FTP, it disappears from the directory about 5 seconds later. I need to block an IP (i have their range) or by domain name. I heard you can do it through javascript, but I can't seem to find how.

Thanks for your help.

11-10-2003, 07:06 AM
Javascript can but it would be incredibly easy to circumvent. Blocking using a server side language would be more effective.

What language capabilities do you have on your server?

11-10-2003, 11:53 PM
I don't think I can do much more than javascript, although I haven't tried many others. I can try whatever you suggest, though.