Click here to Skip to main content
15,890,282 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
Mircea Neacsu27-Aug-21 7:11
Mircea Neacsu27-Aug-21 7:11 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
User 991608027-Aug-21 7:18
professionalUser 991608027-Aug-21 7:18 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
Jörgen Andersson27-Aug-21 9:07
professionalJörgen Andersson27-Aug-21 9:07 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
raddevus27-Aug-21 9:37
mvaraddevus27-Aug-21 9:37 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
Jörgen Andersson27-Aug-21 9:40
professionalJörgen Andersson27-Aug-21 9:40 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
den2k8827-Aug-21 3:22
professionalden2k8827-Aug-21 3:22 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
Jörgen Andersson27-Aug-21 9:13
professionalJörgen Andersson27-Aug-21 9:13 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
dandy7227-Aug-21 3:29
dandy7227-Aug-21 3:29 
So...you want the UI to take care of length restrictions, while the DB backend remains wide open?

What happens when a hacker finds a way to get data in without using the UI that imposes the restrictions, and starts shoveling tons of data until you run out of disk space? And uses data types that the frontend subsequently reads back doesn't expect?

Belt and suspenders have a specific meaning in IT, there's a reason it's generally a good idea.

GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
obermd27-Aug-21 3:38
obermd27-Aug-21 3:38 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
englebart27-Aug-21 3:45
professionalenglebart27-Aug-21 3:45 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
Sander Rossel27-Aug-21 4:11
professionalSander Rossel27-Aug-21 4:11 
QuestionRe: Imposing data type and length restrictions at the database level is stupid! Pin
David Crow27-Aug-21 4:49
David Crow27-Aug-21 4:49 
PraiseRe: Imposing data type and length restrictions at the database level is stupid! Pin
Slacker00727-Aug-21 6:00
professionalSlacker00727-Aug-21 6:00 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
Gerry Schmitz27-Aug-21 5:15
mveGerry Schmitz27-Aug-21 5:15 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
#realJSOP28-Aug-21 1:08
mve#realJSOP28-Aug-21 1:08 
GeneralRe: Imposing data type and length restrictions at the database level is stupid! Pin
5teveH28-Aug-21 3:29
5teveH28-Aug-21 3:29 
JokeNever fight a dinosaur... PinPopular
Sander Rossel27-Aug-21 0:54
professionalSander Rossel27-Aug-21 0:54 
GeneralRe: Never fight a dinosaur... Pin
Johnny J.27-Aug-21 1:15
professionalJohnny J.27-Aug-21 1:15 
GeneralRe: Never fight a dinosaur... Pin
PIEBALDconsult27-Aug-21 12:00
mvePIEBALDconsult27-Aug-21 12:00 
GeneralSound of the Week Pin
Sander Rossel26-Aug-21 23:29
professionalSander Rossel26-Aug-21 23:29 
GeneralRe: Sound of the Week Pin
David O'Neil27-Aug-21 3:15
professionalDavid O'Neil27-Aug-21 3:15 
GeneralRe: Sound of the Week Pin
peterkmx27-Aug-21 9:24
professionalpeterkmx27-Aug-21 9:24 
GeneralRe: Sound of the Week Pin
Sander Rossel28-Aug-21 0:12
professionalSander Rossel28-Aug-21 0:12 
GeneralRe: Sound of the Week Pin
David O'Neil28-Aug-21 4:23
professionalDavid O'Neil28-Aug-21 4:23 
GeneralRe: Sound of the Week Pin
peterkmx27-Aug-21 9:20
professionalpeterkmx27-Aug-21 9:20 

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.