Page 1 of 2 12 LastLast
Results 1 to 40 of 42

Thread: [Serious] Restricting access to user

  1. #1

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    [Serious] Restricting access to user

    I hate spammy spammers, (no offence kregg).

    I want to ban them from my site, but, short of employing a mob to shot them all down, I was considering baning IP addresses.

    But, a point of which I had picked up on the t'interweb is that because IPs change it will never prevent spammy spammers, and potentially annoy the good people, such as myself...


    Any thoughts / alternative suggestions?

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [Serious] Restricting access to user

    Not much you can do. IP blocking is about effective as it's going to get.

    Also, why does your website display this in your top blog entry:
    Code:
    <!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:”Calibri”,”sans-serif”; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:”Times New Roman”; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} p {mso-style-noshow:yes; mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:”Times New Roman”; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  3. #3
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [Serious] Restricting access to user

    Microsoft Ajax has a NoBot control that executes client-side DOM calculations and rejects requests sent within a few seconds of a page's loading... both have been extremely effective on my website in preventing spam in an otherwise unprotected shout box. Maybe there's something similar out there you could find?

  4. #4

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    Quote Originally Posted by kasracer
    Not much you can do. IP blocking is about effective as it's going to get.

    Also, why does your website display this in your top blog entry:
    Code:
    <!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:”Calibri”,”sans-serif”; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:”Times New Roman”; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} p {mso-style-noshow:yes; mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; mso-pagination:widow-orphan; font-size:12.0pt; font-family:”Times New Roman”,”serif”; mso-fareast-font-family:”Times New Roman”;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:”Times New Roman”; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} –>
    Which of my sites was that?

  5. #5
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: [Serious] Restricting access to user

    I think he's talking about this blog.

  6. #6

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    OH!!! I see.

    I have absolutely no idea why that code is on my blog?

    Thanks for pointing it out

  7. #7
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: [Serious] Restricting access to user

    Quote Originally Posted by I_Love_My_Vans
    I hate spammy spammers, (no offence kregg).
    Then why did you add me to your list?

    Oh wait... I added you to my list...

  8. #8

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    Your previous post is just a blur, my spam glasses are restciting the post.

  9. #9
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: [Serious] Restricting access to user

    All you need to know is this:

  10. #10

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user


  11. #11

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    Hey! Keep it [Serious]!

  12. #12
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: [Serious] Restricting access to user

    Is this for your blog? Why don't you just disable the comments?

  13. #13

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    No it isn't for my blog, I have a WordPress pluggin to solve that problem.

  14. #14
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [Serious] Restricting access to user

    CAPTCHA not working? Is it for a guestbook/comments page or is it a contact page?

  15. #15

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    No no, captcha is working, working well. All I wanted to do is if a spammer were to manually get around the captcha then I would ban their IP, this is indeed for my contact page.

    TBH, I have had little experience in this area, so if you guys think captcha is sufficient, say so

  16. #16
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [Serious] Restricting access to user

    What do you mean "manually" get around your Captcha? Do you not do any server-side validation?

    Btw, Captchas suck. You have to make it difficult to read (i.e. lots of background shapes and colors and lines going through the letters) to fool the OCR software spammers will use but then you make it very difficult for the user. Make it too simple and the spammers can automatically read it.

    A good alternative is answering a question such as "To prove you are a human: what is 2 + 3?". Just don't put the answer in JavaScript.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  17. #17

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    Manual as in a human will physically type it in and me...

    Your idea of the maths question sounds interesting, its something I might look into.

  18. #18
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [Serious] Restricting access to user

    The math thing would be really very easy to break algorithmically even using standard shell commands (see the screenshot).


    It would be a bit more robust if you dressed it up in words:

    "What is two times three?"

    But not much more.
    Attached Images Attached Images  
    Last edited by wossname; Oct 27th, 2008 at 07:54 AM.
    I don't live here any more.

  19. #19

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: [Serious] Restricting access to user

    "What is t00 plus thr33?"

  20. #20
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [Serious] Restricting access to user

    NaN.

  21. #21
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: [Serious] Restricting access to user

    Quote Originally Posted by wossname
    The math thing would be really very easy to break algorithmically even using standard shell commands (see the screenshot).


    It would be a bit more robust if you dressed it up in words:

    "What is two times three?"

    But not much more.

  22. #22
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [Serious] Restricting access to user

    What is the color of the background of this page?

    What is the fourth letter of this question?

    What is the answer to life, the universe and everything?

  23. #23
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [Serious] Restricting access to user

    just ban the IPs for some period of time, like 2 weeks. If the spam continues to come from the same IP after it was blacklisted for the allotted time, then consider a permaban.

    You know, sort of like what we do with some folks around here who don't behave.. we ban them for a bit, then forever if they don't get the message

  24. #24
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [Serious] Restricting access to user

    Not to worry. I had a talk with Max, and I believe he fully understands the message. He promised to me that he would never get into trouble again. I think the time away from this lovely place finally started getting to him...

  25. #25
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: [Serious] Restricting access to user

    Quote Originally Posted by timeshifter
    Not to worry. I had a talk with Max, and I believe he fully understands the message. He promised to me that he would never get into trouble again. I think the time away from this lovely place finally started getting to him...
    Have you had a talk with yourself?

  26. #26
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: [Serious] Restricting access to user

    Why would I need to do that? That'd just be... weird...

  27. #27
    Fanatic Member
    Join Date
    May 2005
    Posts
    898

    Re: [Serious] Restricting access to user

    "so just keep in mind that fantasy is not the same as realtiy and make sure u remember that wii sports may be fun but u cant count on it as exercise ok cool bye" - HungarianHuman

  28. #28
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    Why don't you have users registered, validate with a double-opt in email. When they want to post, they have to be registered by an email. You can with server side coding, get an IP, Mac Address of equipment, OS installation key, motherboard ID that would be unique to the user. There are various solutions to your spam posting, in addition to generating Captcha and validating the generated Captcha.

    Also, you could have all comments, or forms validated by a human, before it posts. If the spammers can't blast you, they'll leave you alone.

  29. #29
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [Serious] Restricting access to user

    I would like to know how you can "with server side coding get... OS installation key"...

    If that was the case, I feel like people would have their product keys lifted constantly...

  30. #30
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    Quote Originally Posted by kleinma View Post
    I would like to know how you can "with server side coding get... OS installation key"...

    If that was the case, I feel like people would have their product keys lifted constantly...
    You can't, I was just seeing who was paying attention. Client side, it can be done!

  31. #31
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [Serious] Restricting access to user

    Seeing who was paying attention in the nearly year old post you dug up?

  32. #32
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    Apparently, you were paying attention. I got an email from DaniWeb asking me to come back. Now I see why I left in the first place!

    Also, I know that people get emails alerting them to posts, old, new or otherwise. I'm looking for a solution and I have commented in the past.

    I think it's best that I go else where for my answers and to assist.

  33. #33
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: [Serious] Restricting access to user

    Quote Originally Posted by soltec View Post
    Apparently, you were paying attention. I got an email from DaniWeb asking me to come back. Now I see why I left in the first place!

    Also, I know that people get emails alerting them to posts, old, new or otherwise. I'm looking for a solution and I have commented in the past.

    I think it's best that I go else where for my answers and to assist.
    So you came back, posted incorrect information, were corrected on it and are now leaving because of it?

    Uhh okie, buh-bye.

  34. #34
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    I admitted I was wrong, and YET I still hear from you. That's why I left. There are too many people that are so quick to jump on someone, but not as many willing to help.

    I think the reason people need the help, genuinely is because there aren't enough "good" resources out there. Dani Web helped me and I reciprocated in kind. I'm not leaving because I was called out, I'm leaving because I did some thing to attract attention, corrected myself and admitted it was an inaccuracy and I'm still admitting it.

    If someone doesn't know and they make a suggestion and it's wrong, they get flammed and I can see why people are reluctant to post. I've been a coder for quite awhile in various medium's and I don't know everything I'll admit that.

    I also know that many of these types of webpages people post to and "never" get an answer, because they're not monitored or people don't take the time to pay-it-forward and help other's learn, and teach so other will follow.

    I'm not leaving because I was called out. I'm leaving because I will never hear the end of, just like YOUR COMMENT>

  35. #35
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    Quote Originally Posted by kleinma View Post
    Seeing who was paying attention in the nearly year old post you dug up?
    I didnt' look at the date, my bad. I was looking for a solution that I'm currently working on. I did a search and haven't been on DaniWeb in a long time and didn't remember the date posting dates.

    I again admit that I perfomed a no no boo boo, by posting that you can get OS information from a server side client and admitted my wrong doing.

    I won't make the same mistake twice. I'll learn from it!

  36. #36
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: [Serious] Restricting access to user

    Quote Originally Posted by soltec View Post
    I admitted I was wrong, and YET I still hear from you. That's why I left. There are too many people that are so quick to jump on someone, but not as many willing to help.

    I think the reason people need the help, genuinely is because there aren't enough "good" resources out there. Dani Web helped me and I reciprocated in kind. I'm not leaving because I was called out, I'm leaving because I did some thing to attract attention, corrected myself and admitted it was an inaccuracy and I'm still admitting it.

    If someone doesn't know and they make a suggestion and it's wrong, they get flammed and I can see why people are reluctant to post. I've been a coder for quite awhile in various medium's and I don't know everything I'll admit that.

    I also know that many of these types of webpages people post to and "never" get an answer, because they're not monitored or people don't take the time to pay-it-forward and help other's learn, and teach so other will follow.

    I'm not leaving because I was called out. I'm leaving because I will never hear the end of, just like YOUR COMMENT>
    I think you need to get a thicker spine. Kleinma did not say a single rude thing to you. He told you that what you were saying was incorrect (so people don't attempt it or believe false information) and then pointed out that you also necro-posted and brought up a post from a year ago.

  37. #37
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    Quote Originally Posted by kfcSmitty View Post
    I think you need to get a thicker spine. Kleinma did not say a single rude thing to you. He told you that what you were saying was incorrect (so people don't attempt it or believe false information) and then pointed out that you also necro-posted and brought up a post from a year ago.
    Agreed. Now can we drop it?

  38. #38
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    I have been posting here for less than an hour and two people commented on my posting, constructively. I've seen other's post and not one person comments. Is it because no one knows, or is it because no one cares?

    I keep getting replies on things I posted in 07 when I first signed up; go figure.

  39. #39
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: [Serious] Restricting access to user

    Quote Originally Posted by soltec View Post
    I have been posting here for less than an hour and two people commented on my posting, constructively. I've seen other's post and not one person comments. Is it because no one knows, or is it because no one cares?

    I keep getting replies on things I posted in 07 when I first signed up; go figure.
    Typically a post will not get an answer for the following reasons:

    1. The question is not clear
    2. The user didn't bother to search the forums first
    3. No one who has viewed it knows the answer
    4. The people who do know the answer have not seen it

    This is a volunteer based forum and not everyone checks every thread. I know, personally, I skip a lot of threads just based on the title. If the thread title isn't very specific, I will move onto a thread that catches my interest.

  40. #40
    New Member
    Join Date
    Aug 2007
    Posts
    4

    Re: [Serious] Restricting access to user

    Quote Originally Posted by kfcSmitty View Post
    Typically a post will not get an answer for the following reasons:

    1. The question is not clear
    2. The user didn't bother to search the forums first
    3. No one who has viewed it knows the answer
    4. The people who do know the answer have not seen it

    This is a volunteer based forum and not everyone checks every thread. I know, personally, I skip a lot of threads just based on the title. If the thread title isn't very specific, I will move onto a thread that catches my interest.
    5. It takes too much time to explain it or psuedo code it! or worse, validate and test the code for free.

    that was my other one, the subject isn't clear and concise enough for an expert to have interest.

Page 1 of 2 12 LastLast

Posting Permissions

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



Click Here to Expand Forum to Full Width