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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:37:43+00:00 2026-05-26T13:37:43+00:00

It is generally considered bad practice to accept input that is derived from JavaScript

  • 0

It is generally considered bad practice to accept input that is derived from JavaScript because of the principle that you should not trust anything from the client.

But wouldn’t this also mean that you can’t trust drop box selections, etc. without verifying it on there server? You can easily add your own selection options in Firebug.

So, if I violate this best practice (since I’m not accepting credit card payments or anything as security critical as that), are there any techniques for minimizing risk of problems? For example are there ways to make it more difficult for the end user to modify the JavaScript created values? And while we’re at it, is there any way to increase the difficulty of modifying drop boxes, etc.?

  • 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-26T13:37:44+00:00Added an answer on May 26, 2026 at 1:37 pm

    You wont be-able to stop the client form tampering with your form data.

    You could add a hash taken from all the known values you provide and store store them in a hidden field. or an encrypt the values kind of like a paypal button dose.

    Still both of these methods will require server side validation.

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

Sidebar

Related Questions

Is it generally considered bad practice to provide Iterator implementations that are infinite; i.e.
Is it generally considered a bad practice to use non-exhaustive pattern machings in functional
Is it generally considered bad practice to use typeid in production code? Also, I
I have read that generally abstract classes should not be made Serializable in Java.
Is it considered good or bad practice to use MySQL's password function to hash
It seems to be generally considered poor programming practise to use variable names that
Are Finite State Machines generally considered as bad design in OOP ? I hear
Generally, how bad of a performance hit is storing a file in a database
Generally, MVC frameeworks have a structure that looks something like: /models /views /controllers /utils
Generally speaking, the SQL queries that I write return unformatted data and I leave

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.