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 3976518
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:48:50+00:00 2026-05-20T04:48:50+00:00

Hey guys, I’m doing an AJAX POST call – but with FireBug you can

  • 0

Hey guys, I’m doing an AJAX POST call – but with FireBug you can see all the details (allowing people to bypass the form).

Any tips on Obfuscating this POST (or something along those lines)?

My ajax call:

$.ajax({
        type: "POST",
        url: "php/query.php",
        cache: false,
        data: "action=getWordsByLetter&l="+letter,
        success: function(data){
            dataArray = data.split('|');
            $('#words').html('');
            for(var i = 0; i < (dataArray.length - 1); i++) {
                $('#words').append('<li class="w">'+dataArray[i]+'</li>');
            }
        }
    });

I would prefer to write the code myself as opposed to depending on a plugin 🙂

  • 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-20T04:48:51+00:00Added an answer on May 20, 2026 at 4:48 am

    First: reCaptcha

    If bypassing the form is a major problem you can always include reCaptcha which should be included with each post of that particular form.

    I don’t know about the scenario you’re solving, but this will make it more or less impossible to make programmatic POSTs.

    Second: Client side library

    The other way is as suggested a client side library. You can either use a client library and make it easy on yourself or write your own code that will do something similar.

    Third: Dynamic field naming

    As I understand your form has at least one field on it. And you should only process this form when it’s been requested for firstly. What you could do is make this field’s name completely dynamic:

    1. Server side creates the form and sets some dynamic name to your field
    2. Stores the name for later use or encrypt it on the server and store the crypt in a hidden field in the form
    3. Server gets back data
    4. If the field’s name matches previously created name (either stored server side or provided in the hidden name) you should process it otherwise just ignore the request.

    Fourth: Change DOM structure

    If there’s a risk that results will be consumed by bots you can always change the structure of your document in various ways (change container elements, change their CSS class names, IDs etc). Make a list of changes (several of them) and user permutations with that. You can more or less always achieve the result seems visually the same to a human, but a machine will have hard times reading it.

    Standard stuff

    1. Make the process slow for bots but it would work just fine for humans (a 5s delay should not be noticable by humans)
    2. IP restriction – you can allow only one request per x minutes from the same location – this greatly depends on the nature of your form
    3. Honeypot pattern that usually filters out bots from humans.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys i wrote a quick test. I want delete to call deleteMe which
Hey guys i want to execute my SQL statement but im having synatx trouble,
Hey guys i'm making a website but for some reason my div tags are
Hey guys, sorry I'm kind of new to programming, but I had a small
Hey guys I can't seem to get the syntax here right, I'm just trying
Hey guys, I don't know RegExp yet. I know a lil about it but
Hey guys, am trying to write to do type casting in java, but i
hey guys, I have mypage.com/user-login.php?action=register and I want to be able to call mypage.com/register
Hey guys, this bit of code works in IE but not in Chrome, any
Hey guys can anybody help me with texture mapping in Direct3D C++. I have

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.