Click here to Skip to main content
15,915,094 members
Home / Discussions / Web Development
   

Web Development

 
Generalasp, jsp and unix Pin
includeh104-Nov-04 5:42
includeh104-Nov-04 5:42 
GeneralRe: asp, jsp and unix Pin
V.4-Nov-04 21:29
professionalV.4-Nov-04 21:29 
GeneralRe: asp, jsp and unix Pin
raouls4-Nov-04 21:37
raouls4-Nov-04 21:37 
GeneralRe: asp, jsp and unix Pin
Peff7-Nov-04 7:27
Peff7-Nov-04 7:27 
Questioninclude or import in html? Pin
includeh104-Nov-04 5:40
includeh104-Nov-04 5:40 
AnswerRe: include or import in html? Pin
Peff7-Nov-04 7:34
Peff7-Nov-04 7:34 
GeneralServer side validation using Perl Pin
Member 9697024-Nov-04 3:25
Member 9697024-Nov-04 3:25 
GeneralRe: Server side validation using Perl Pin
alex.barylski5-Nov-04 10:29
alex.barylski5-Nov-04 10:29 
As a general rule of thumb web database security usually goes something like principle of least privilege.

1) Strip out any non essential characters
2) Check the format/validate
3) Check the length of data (although i'm sure languages like Perl and PHP or MySQL use dynamic memory allocation, so i'm not sure why length checking is important, except for just incase theres a bug, type situations.)
4) You may have to escape special characters (single quote, etc)

Use regex to quickly and easily strip non-required characters and check the format of the input.

See Regex Library[^] to save yourself some work.

Cheers Smile | :)

How do I print my voice mail?
GeneralASP Error Pin
Marwa Bahaa3-Nov-04 22:02
Marwa Bahaa3-Nov-04 22:02 
GeneralRe: ASP Error Pin
Chris Quick4-Nov-04 1:54
Chris Quick4-Nov-04 1:54 
GeneralRe: ASP Error Pin
hakanaktan5-Nov-04 13:43
hakanaktan5-Nov-04 13:43 
GeneralASP REMOTE_USER Server Variable Pin
Kevin kelly3-Nov-04 11:13
Kevin kelly3-Nov-04 11:13 
GeneralASP Logout Problem Pin
Chaitanya Puri3-Nov-04 1:27
Chaitanya Puri3-Nov-04 1:27 
GeneralRe: ASP Logout Problem Pin
Dr.Shafqat Balouch3-Nov-04 12:55
Dr.Shafqat Balouch3-Nov-04 12:55 
GeneralRe: ASP Logout Problem Pin
Chaitanya Puri3-Nov-04 23:39
Chaitanya Puri3-Nov-04 23:39 
GeneralPOST BacK in C# Pin
lighting_blue2-Nov-04 20:59
lighting_blue2-Nov-04 20:59 
GeneralRe: POST BacK in C# Pin
Ahmed Galal2-Nov-04 22:17
Ahmed Galal2-Nov-04 22:17 
Generalfunction call from one HTML page to another HTML page Pin
2-Nov-04 20:06
suss2-Nov-04 20:06 
GeneralRe: function call from one HTML page to another HTML page Pin
rgoyal16-Nov-04 0:06
rgoyal16-Nov-04 0:06 
GeneralWeekly Calendar Pin
Anonymous2-Nov-04 13:03
Anonymous2-Nov-04 13:03 
GeneralUsing .jpg files in a .htm file Pin
digwizfox2-Nov-04 7:30
digwizfox2-Nov-04 7:30 
GeneralRe: Using .jpg files in a .htm file Pin
obymathew2-Nov-04 17:03
obymathew2-Nov-04 17:03 
GeneralRe: Using .jpg files in a .htm file Pin
V.2-Nov-04 21:32
professionalV.2-Nov-04 21:32 
GeneralC# "upload file problem" Pin
QzRz2-Nov-04 4:59
QzRz2-Nov-04 4:59 
GeneralC# - Client side script Pin
Ahmed Galal2-Nov-04 3:15
Ahmed Galal2-Nov-04 3:15 

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.