Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Blocking a malicous user

Blocking a malicous user

Scheduled Pinned Locked Moved The Lounge
csharpasp-netcomsecuritytutorial
9 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Barry Etter
    wrote on last edited by
    #1

    Please don't hate me for cross posting this, but I didn't get many replies in the ASP.NET forum... I have a free website that allows alumni of my high school to sign up and share information. It's like classmates.com, except it's free to alumni of my school (http://www.daviehighalumni.com[^] if you're interested). There is one user who likes to cause problems by posting offensive messages on my message board, annoy other users, etc. I can easily block this user from signing in, but have no restrictions on creating new accounts, so they can easily create a new account and continue their behaviour. I could try requiring e-mail authentication before a new account can be used, but this person could impersonate another alumni who doesn't yet have an account. I can't base it on IP address because they change often. I can't base it on name or e-mail address because a person can easily use a different name or create a new e-mail address. Here's my last attempt to block this person: I put a tag on their profile so that when they logged in, I set a cookie on their computer. From then on, if I see this cookie, I don't let them log on or create new accounts. I thought this would keep them out for sure, but it hasn't worked as they apparently know how to delete cookies or are going to different computers. So, does anyone have any ideas on blocking a user from accessing a web site when the web site is free and allows users to create accounts? Barry Etter

    Barry Etter

    L C M J 4 Replies Last reply
    0
    • B Barry Etter

      Please don't hate me for cross posting this, but I didn't get many replies in the ASP.NET forum... I have a free website that allows alumni of my high school to sign up and share information. It's like classmates.com, except it's free to alumni of my school (http://www.daviehighalumni.com[^] if you're interested). There is one user who likes to cause problems by posting offensive messages on my message board, annoy other users, etc. I can easily block this user from signing in, but have no restrictions on creating new accounts, so they can easily create a new account and continue their behaviour. I could try requiring e-mail authentication before a new account can be used, but this person could impersonate another alumni who doesn't yet have an account. I can't base it on IP address because they change often. I can't base it on name or e-mail address because a person can easily use a different name or create a new e-mail address. Here's my last attempt to block this person: I put a tag on their profile so that when they logged in, I set a cookie on their computer. From then on, if I see this cookie, I don't let them log on or create new accounts. I thought this would keep them out for sure, but it hasn't worked as they apparently know how to delete cookies or are going to different computers. So, does anyone have any ideas on blocking a user from accessing a web site when the web site is free and allows users to create accounts? Barry Etter

      Barry Etter

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      google requires cellfone numbers now before you can get an account the theorey being they arent as easy to change as email addresses


      "there is no spoon"
      {some projects} {about me}

      1 Reply Last reply
      0
      • B Barry Etter

        Please don't hate me for cross posting this, but I didn't get many replies in the ASP.NET forum... I have a free website that allows alumni of my high school to sign up and share information. It's like classmates.com, except it's free to alumni of my school (http://www.daviehighalumni.com[^] if you're interested). There is one user who likes to cause problems by posting offensive messages on my message board, annoy other users, etc. I can easily block this user from signing in, but have no restrictions on creating new accounts, so they can easily create a new account and continue their behaviour. I could try requiring e-mail authentication before a new account can be used, but this person could impersonate another alumni who doesn't yet have an account. I can't base it on IP address because they change often. I can't base it on name or e-mail address because a person can easily use a different name or create a new e-mail address. Here's my last attempt to block this person: I put a tag on their profile so that when they logged in, I set a cookie on their computer. From then on, if I see this cookie, I don't let them log on or create new accounts. I thought this would keep them out for sure, but it hasn't worked as they apparently know how to delete cookies or are going to different computers. So, does anyone have any ideas on blocking a user from accessing a web site when the web site is free and allows users to create accounts? Barry Etter

        Barry Etter

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #3

        Report them to their ISP. There are laws.

        cheers, Chris Maunder

        CodeProject.com : C++ MVP

        1 Reply Last reply
        0
        • B Barry Etter

          Please don't hate me for cross posting this, but I didn't get many replies in the ASP.NET forum... I have a free website that allows alumni of my high school to sign up and share information. It's like classmates.com, except it's free to alumni of my school (http://www.daviehighalumni.com[^] if you're interested). There is one user who likes to cause problems by posting offensive messages on my message board, annoy other users, etc. I can easily block this user from signing in, but have no restrictions on creating new accounts, so they can easily create a new account and continue their behaviour. I could try requiring e-mail authentication before a new account can be used, but this person could impersonate another alumni who doesn't yet have an account. I can't base it on IP address because they change often. I can't base it on name or e-mail address because a person can easily use a different name or create a new e-mail address. Here's my last attempt to block this person: I put a tag on their profile so that when they logged in, I set a cookie on their computer. From then on, if I see this cookie, I don't let them log on or create new accounts. I thought this would keep them out for sure, but it hasn't worked as they apparently know how to delete cookies or are going to different computers. So, does anyone have any ideas on blocking a user from accessing a web site when the web site is free and allows users to create accounts? Barry Etter

          Barry Etter

          M Offline
          M Offline
          mango_lier
          wrote on last edited by
          #4

          Try Ban by MAC address, chances are he is calling from the same computer.

          B L 2 Replies Last reply
          0
          • M mango_lier

            Try Ban by MAC address, chances are he is calling from the same computer.

            B Offline
            B Offline
            Barry Etter
            wrote on last edited by
            #5

            I like that idea! How can you get the MAC address from a web request?

            Barry Etter

            J M 2 Replies Last reply
            0
            • B Barry Etter

              I like that idea! How can you get the MAC address from a web request?

              Barry Etter

              J Offline
              J Offline
              Jeremy Falcon
              wrote on last edited by
              #6

              Wrong forum. ;P

              Jeremy Falcon

              1 Reply Last reply
              0
              • B Barry Etter

                I like that idea! How can you get the MAC address from a web request?

                Barry Etter

                M Offline
                M Offline
                mango_lier
                wrote on last edited by
                #7

                I don't know much about linux but on windows you can write an IP helper DLL (many samples here on CP). From there you will have access to IP/TCP/MAC, use the info and get to your database using oldb interfaces to accept or reject the connection:).

                1 Reply Last reply
                0
                • B Barry Etter

                  Please don't hate me for cross posting this, but I didn't get many replies in the ASP.NET forum... I have a free website that allows alumni of my high school to sign up and share information. It's like classmates.com, except it's free to alumni of my school (http://www.daviehighalumni.com[^] if you're interested). There is one user who likes to cause problems by posting offensive messages on my message board, annoy other users, etc. I can easily block this user from signing in, but have no restrictions on creating new accounts, so they can easily create a new account and continue their behaviour. I could try requiring e-mail authentication before a new account can be used, but this person could impersonate another alumni who doesn't yet have an account. I can't base it on IP address because they change often. I can't base it on name or e-mail address because a person can easily use a different name or create a new e-mail address. Here's my last attempt to block this person: I put a tag on their profile so that when they logged in, I set a cookie on their computer. From then on, if I see this cookie, I don't let them log on or create new accounts. I thought this would keep them out for sure, but it hasn't worked as they apparently know how to delete cookies or are going to different computers. So, does anyone have any ideas on blocking a user from accessing a web site when the web site is free and allows users to create accounts? Barry Etter

                  Barry Etter

                  J Offline
                  J Offline
                  Jerry Hammond
                  wrote on last edited by
                  #8

                  I'm sure someone more savy than has said this, but log his IP then whip up a table in your database ( blkUserAccounts) and add his dumbarse IP. Then run it against not only any future attempts to register, but against all cuurent logins (just in case a former sweetheart swoons and gives him access through her account). Jerry

                  "I'm happier than a tornado in a trailer park"--Cars

                  1 Reply Last reply
                  0
                  • M mango_lier

                    Try Ban by MAC address, chances are he is calling from the same computer.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    If I remember correctly, DSL doesn't use MAC addresses and dailup defintitely doesn't. Elaine :rose:

                    The tigress is here :-D

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups