Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6986373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:48:02+00:00 2026-05-27T18:48:02+00:00

I am working on a social networking site where people can comment on posts,

  • 0

I am working on a social networking site where people can comment on posts, photos, videos etc. Commenting is similar to facebook commenting system, but I am worried about that it might be abused by some people. People can type one word and press enter or if someone is logged in, can write a small javascript program and post unlimited number of comments on any post, ultimately it is a form posting to a controller method.

What is the best way to handle this situation? How could I implement this system?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:48:02+00:00Added an answer on May 27, 2026 at 6:48 pm

    A couple of thoughts spring to mind –

    Firstly implement a post quality control system. This is up to you, but perhaps something like a minimum character/word limit? Obviously a one-word comment might be completely acceptable, so it’s up to yourself. Another alternative might be a regular expression to confirm the post contains at least one valid English (?) word, or a search against a known list of blacklisted websites.

    A nice little bit of server-side validation could handle that in MVC 🙂

    Secondly you can implement a time limit on new posts, nothing huge perhaps only a few milliseconds, or a second or so. It helps mitigate a denial of service, since any request from a particular IP address will basically not be processed if it comes too closely behind another. This is perhaps something that would be dealt with again in server-side validation but outside of the controller – a separate set of classes would be responsible for keeping track of what was posted and what constitutes a ‘spammy’ comment based on timeframe.

    A third option would be to implement the dreaded CAPTCHA (perhaps ReCaptcha) on each comment, although from a Usability perspective that would really be annoying for users 😉 Easy to implement and lots of details on the ReCaptcha site, including .Net libraries IIRC.

    A fourth option might be to include a comment moderation system, so comments must be approved by the OP before they appear. Very similar to most blogs.

    A fifth option could be a facility to ban based on IP addresses to help cut out known spammers. Similarly there are various APIs out there to help filter comments based on spamminess of content such as Akismet.

    It’s a pretty big topic, so sorry for the general-purpose nature of the suggestions. I hope a couple might be useful 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a social networking site, where users can send messages to
I've been working on the database for a very basic social networking site: all
I'm working on a website that will use features of social networking (like facebook
I am working on a social site where users can block other users. Throughout
I am developing a social networking site. It has functionality like user registration, people
I am working on social networking site. now our team decide to store user
I am working on a social networking site where we are implementing profiles, pages,
I am working on a social networking site with a family tree that is
I'm working on a new social networking site and I want to give users
I'm working on a social networking system that will have comments coming from several

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.