Click here to Skip to main content
15,895,709 members
Home / Discussions / Web Development
   

Web Development

 
QuestionUsing Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 0:08
professionalMarcus J. Smith7-Feb-07 0:08 
AnswerRe: Using Java Script as a security model to protect hidden fields Pin
Bradml7-Feb-07 0:36
Bradml7-Feb-07 0:36 
JokeRe: Using Java Script as a security model to protect hidden fields Pin
blue_arc7-Feb-07 1:02
blue_arc7-Feb-07 1:02 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 1:20
professionalMarcus J. Smith7-Feb-07 1:20 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
badgrs7-Feb-07 2:54
badgrs7-Feb-07 2:54 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Vasudevan Deepak Kumar7-Feb-07 4:36
Vasudevan Deepak Kumar7-Feb-07 4:36 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 1:23
professionalMarcus J. Smith7-Feb-07 1:23 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
User 98858-Feb-07 21:43
User 98858-Feb-07 21:43 
Here are the arguments you need.

1. You can see the source of any web page, no matter what you do on the browser. If you managed to lock down the browser, the data can still be seen using a packet sniffer like Wireshark.

2. Since the browser and the transmission media cannot be trusted, the incoming data has to checked at the first point where you can check it and be sure that no one can modify it further. That point is your web server. So, you have to make sure that all data conforms to expected ranges and that no *bad* characters make it through in the parameters that will be used in generating SQL statements.

3. If the incoming data is not sanitized, hackers can send in SQL fragments in such a manner that they can compromise your SQL server. This mechanism is called SQL injection.

So, if you really care about security, please use TLS/SSL to encrypt the channel (only needed if sensitive data is involved), validate user input at the server, and use javascript to enhance user experience.

Thomas

modified 29-Aug-18 21:01pm.

GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith9-Feb-07 3:48
professionalMarcus J. Smith9-Feb-07 3:48 
AnswerRe: Using Java Script as a security model to protect hidden fields Pin
Guffa7-Feb-07 7:09
Guffa7-Feb-07 7:09 
QuestionDefinition error Pin
nclauder6-Feb-07 20:42
nclauder6-Feb-07 20:42 
AnswerRe: Definition error Pin
blue_arc7-Feb-07 1:20
blue_arc7-Feb-07 1:20 
AnswerRe: Definition error Pin
Sandeep Akhare7-Feb-07 1:36
Sandeep Akhare7-Feb-07 1:36 
GeneralRe: Definition error Pin
nclauder7-Feb-07 3:02
nclauder7-Feb-07 3:02 
GeneralRe: Definition error Pin
Sandeep Akhare7-Feb-07 3:08
Sandeep Akhare7-Feb-07 3:08 
AnswerRe: Definition error Pin
badgrs7-Feb-07 2:50
badgrs7-Feb-07 2:50 
QuestionHow can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter6-Feb-07 19:40
Jaison Peter6-Feb-07 19:40 
AnswerRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Christian Graus6-Feb-07 19:46
protectorChristian Graus6-Feb-07 19:46 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Bradml6-Feb-07 19:54
Bradml6-Feb-07 19:54 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter6-Feb-07 19:57
Jaison Peter6-Feb-07 19:57 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Bradml6-Feb-07 20:35
Bradml6-Feb-07 20:35 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter6-Feb-07 21:46
Jaison Peter6-Feb-07 21:46 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Bradml7-Feb-07 0:37
Bradml7-Feb-07 0:37 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
PSK_6-Feb-07 21:49
PSK_6-Feb-07 21:49 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter7-Feb-07 0:31
Jaison Peter7-Feb-07 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.