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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:26:24+00:00 2026-05-20T23:26:24+00:00

I have a routine that updates information on a web page. The page is

  • 0

I have a routine that updates information on a web page.

The page is created dynamically through perl with the data stored in MySQL database.

This data can be updated online by any number of managers around the world (using javascript / perl to update the mysql) … the problem I have is that the form is getting occasionally hijacked and spoofed and some idiot somewhere is changing the data … I can see them doing it as I have put email feedback in the perl script which tells me the referrer and IP address of the person running my update script.

There is an update button on the website … which pops up a form asking for username and password .. this then makes visible another form in a div (ok, I agree, not great security here) … this form is then submitted via ajax with the form values and updates the mysql with a perl script.

The perl script checks for referrer being the correct domain – but of course this can be spoofed .. which is what is happening now.

As javascript is visible to anyone I am wondering what is a good way to protect the perl script if checking referrer is failing because of the spoofing.

  • 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-20T23:26:25+00:00Added an answer on May 20, 2026 at 11:26 pm

    Authenticate a user server-side.

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

Sidebar

Related Questions

I have a routine that dynamically changes a select list's selected option when the
I have a MYSQL table that holds events information. I need a mechanism that
I have a simple data layer routine that performs a password update, the user
I have a rather large save routine that updates hundreds of items using the
I have this routine that calculates the seconds-to-date for a struct tm . On
I have a routine that examines thousands of records looking for discrepancies. This can
I have a little routine that's run under Linux and Windows written in C
I have a javascript routine that is performing actions on a group of checkboxes,
I have a custom routing application that takes information for a route from google
Hi I have some cron jobs that to routine maintenance tasks, I was wondering

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.