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

  • SEARCH
  • Home
  • 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 7767885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:47:03+00:00 2026-06-01T15:47:03+00:00

Is there a way to determine if the request coming to a handler (lets

  • 0

Is there a way to determine if the request coming to a handler (lets assume the handler responds to get and post) is being performed by a real browser versus a programmatic client?

I already know that it is easy to spoof things like the User Agent and the Referrer, but are there other headers that are more difficult to spoof? Maybe headers that are not commonly available in classes like .net’s HttpWebRequest?

The other path that I looked at is maybe using the Encrypted View State to send a value to the browser that gets validated on the server side, though couldn’t that value simply be scraped from the previous response and added as a post parameter to the next request?

Any help would be much appreciated,
Cheers,

  • 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-06-01T15:47:04+00:00Added an answer on June 1, 2026 at 3:47 pm

    There is no easy way to differentiate because in the end, a post programitically looks the same to the server as a post by a user from the browser.

    As mentioned, captcha’s can be used to control posting but are not perfect (as it is very hard but not impossible for a computer to solve them). They also can annoy users.

    Another route is only allowing authenticated users to post, but this can also still be done programatically.

    If you want to get a good feel for how people are going to try to abuse your site, then you may want to look at http://seleniumhq.org/

    This is very similar to the famous Halting Problem in computer science. See some more on the proof, and Alan Turing here: http://webcache.googleusercontent.com/search?q=cache:HZ7CMq6XAGwJ:www-inst.eecs.berkeley.edu/~cs70/fa06/lectures/computability/lec30.ps+alan+turing+infinite+loop+compiler&cd=1&hl=en&ct=clnk&gl=us

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

Sidebar

Related Questions

Is there a way to determine if an <asp:UpdatePanel /> has performed an Ajax
Is there any way to determine the url on which a website is being
Is there a reliable way, using PHP, to determine if a request comes from
Is there any way to determine if a POST endpoint exists without actually sending
Is there any way (in Java Servlet) to determine whether a HTTP POST or
From a Rails controller, is there a way to determine if the request was
Is there any way to determine the local culture of a PC (such as
Is there a way to determine programmatically, using Python, which web page is currently
Is there any way to determine if the mouse scrolls up or down using
Is there a way to determine Internet Explorer Cookie Settings (that is, whether cookies

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.