answersLogoWhite

0


Best Answer

You will want to set Register Globals to OFF

This can be done through the php.ini file, or if you do not own the server through a .htaccess file. In the htaccess file put:

php_value register_globals 0 If you want the functionality of register globals without the security holes, then if you are reading values from sessions or cookies, use the Superglobal reference i.e.:

$_SESSION['username']

$_COOKIE['grant_access']

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the best way to prevent users spoofing internal values in a PHP application by passing said variables in the URL?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When the graph relating two variables is a straight line passing through the origin the variables are?

0,0


What is a passing score on the certified internal auditor exam?

The passing score for the exam is 75 percent.


What is Role of internal marketing communication?

internal marketing communication can be said or define as a key player in internal marketing within an organisation by passing across all internal information with the sole aim of acheiving organisational objective internal marketing communication can be said or define as a key player in internal marketing within an organisation by passing across all internal information with the sole aim of acheiving organisational objective


When a graph of two variables showm a strait line passing through the point 0 0 the two variables are?

The equation of a line that passes through (0, 0) is y = x, where the two variables x and y have always the same values.


What are the requirements after passing the pnp entrance exam?

any valid ID and the PNPA Application form


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

You can copy them into global variables in the main() function, then have your other functions access those global variables. Global variables should generally be avoided, however.


Through what structure does the internal jugular vein exit the skull?

The internal jugular vein is formed from the sigmoid sinus (after receiving the lesser petrosal sinus) just after passing through the jugular foramen to become the internal jugular vein.


When does total internal refraction happen?

Total internal refraction happens when a light ray travel from a lighter medium to a denser medium. Ex. A light ray passing through a Prism.


What is acceptance criteria for passing a tested application?

Acceptance criteria represents metrics of what should be done for the project to be accepted by customer.


Define line of action of a force?

line of action of a force is a line , passing through point of application of force and also contains


How do you get your fireguard license after passing the exam?

Once you pass the fireguard exam, you can apply for the license through the appropriate government agency or department in your area. This process typically involves submitting an application, providing proof of passing the exam, and paying any required fees. Once your application is processed and approved, you will receive your fireguard license.


Passing marks in maths B-tech 1st sem?

26 and in internal u shud get 14 i'mean total shud be 40