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 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jan 2007
    Posts
    217
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Stopping programs logging in

    Hey guys,

    We recently have a cheating communtiy trying to make programs for my site :X They are creating a login script which allows them to login into the site via there program. If we block the login script, we can pretty much stop all their programs from working.

    We are trying to add different tricks to stop them from logging in, but so far they have gotten past two of our scripts :X

    So i was wondering if you guys have any advice? Like maybe check some of the $_SERVER variables? I'm not too sure as i hardly use them so some help would be greatly appriciated

  • #2
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Have you tried a CAPTCHA image?

  • #3
    Regular Coder
    Join Date
    Jan 2007
    Posts
    217
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Yea :X We are looking for some other methods too tho :X

  • #4
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Well there are numerous ways:
    - use email validation. Send an email that contains a link they must click to complete registration
    - log IP addresses. If you notice a trend of IPs belonging to certain unwanted registrants, block their IP, or even their entire block of IPs
    - hide an input with CSS. If it is filled in then it's a good bet a bot submitted the form
    - write a required input with JavaScript

    It'd also be helpful to have you list your current methods so we're not sitting here wasting everyone's time giving you ideas you've already used.
    Last edited by kbluhm; 08-05-2008 at 02:01 PM.

  • #5
    Regular Coder
    Join Date
    Jan 2007
    Posts
    217
    Thanks
    9
    Thanked 0 Times in 0 Posts
    -write a required into with Javascript

    - i like that one. So that would mean they'd have to have javascript enabled :X? Is their a quick example you could show me?

  • #6
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Just use document.write( '<input type="text" name="whatever" value="" />' ), or if you're into proper DOM, use var input = document.createElement( 'input' );, etc


  •  

    Posting Permissions

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