I wonder if would you consider checking lengths for database fields is part secure SDLC?
would you consider checking lengths for database fields is part secure SDLC?
85 Views Asked by SecQuestionnA At
1
There are 1 best solutions below
Related Questions in SECURITY
- HTTPS configuration in Spring Boot, server returning timeout
- HSM ZKA control mask values
- OWASP Amass Subcommands
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- When sanitize/encode while implementing tags system like on SO
- spring security version in spring-boot-starter-security
- I am currently trying to implement a rudimentary firewall from a video I watched but the nimda worm detection is not working and i do not know why?
- Is it possible for `sudo` to fail temporarily with the correct password? Hacking suspected
- Is it viable proxying all my mobile apps requests, to some kind knowing that a request is coming from a secure source
- What abilities should I concentrate on while bug hunting, and how can I improve the quality of my bug bounty reports?
- System.ArgumentOutOfRangeException: I passed this error in every single program
- How to prevent users from creating custom client apps?
- Does server-side content security policy exist for youtube video player API, app, mod apks and website?
- Can we pass a hostname/IP address as a query string in a GET request in REST API
Related Questions in DATABASE-CONNECTION
- How can I fix Multer Gridfs Storage error "Error creating storage engine. At least one of url or db option must be provided"?
- How to connect MySql Database using SSH to Looker Studio?
- Often aborted connections to db (MariaDB)
- Code change works in local machine but not in staging server
- confusion in unix socket to use for query in postgresql through php
- Very slow connection to mariadb server
- Connecting to local database from Android studio emulator
- connection tab does not appear
- Simultaneous connections in an access database
- Connection leak causing java.sql.SQLNonTransientConnectionException
- Can't connect Windows 10 client to AWS Aurora MySQL database after major version upgrade 2 - 3
- java.sql.SQLException: Error opening connection OS=Linux AARCH64
- Invalid query: Syntax error: Expected keyword JOIN but got keyword DATE
- Node.Js: pg.pool server connection timeout
- Openshift - Impala Connection issue
Related Questions in SDLC
- Creating SDLC and Requirement Board for Uber Development on Trello Body:
- Difference between functional and regression test cases
- XSS Payload That Can Bypass Special Character Check
- conda environments in team and shared Linux environment - best practices?
- Which is correct approach promoting code or promoting binaries?
- How does the Angular team manage feature flags in the framework?
- Can one Activity Diagram Depict only One process
- How do I move Source Code from a local GitLab to AWS GitLab environment using automation?
- What is software physical specification and logical specification?
- How to fix this Syntax error in query expression?
- How git tag can add more meaning to artifact name?
- Configuring Azure ServiceFabric for development lifecycle - how to parameterize host name?
- 'Inferential data' and the Secure Software Development Life Cycle
- TFS Work Items: Workaround for dashboard widgets unable to show tree of work item type queries
- Is it possible to generate code from Use Case, Activity or Sequence Diagram in Enterprise Architect?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
When designing the database, one must consider checking the length of its fields.
Without needing to gossip a lot, I may mention the famous password field: what if the developers follow the good security principle of hashing, salting (or even peppering) the password but the length of the password field in the database is shorter than the length of the hashing output function? Depending on the situation, this may result in hashing the passwords almost useless in this case.
Apart from this, you may get troubles if you do not check at some point the lengths in question as explained in the accepted answer of overstating field size in database design.
In practice, however, checking the lengths of the database fields is not enough if it is not coupled with data validation and data sanitization concepts.