Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2003
    Location
    NYC
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation HELP!! need to block by IP with Javascript

    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.

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    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?
    OracleGuy

  • #3
    New to the CF scene
    Join Date
    Nov 2003
    Location
    NYC
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •