TY - GEN
T1 - "Do this! Do that!, And Nothing will happen"
T2 - Do specifications lead to securely stored passwords?
AU - Hallett, Joseph
AU - Patnaik, Nikhil
AU - Shreeve, Ben
AU - Rashid, Awais
PY - 2021/5/7
Y1 - 2021/5/7
N2 - Does the act of writing a specification (how the code should behave) for a piece of security sensitive code lead to developers producing more secure code? We asked 138 developers to write a snippet of code to store a password: Half of them were asked to write down a specification of how the code should behave before writing the program, the other half were asked to write the code but without being prompted to write a specification first. We find that explicitly prompting developers to write a specification has a small positive effect on the security of password storage approaches implemented. However, developers often fail to store passwords securely, despite claiming to be confident and knowledgeable in their approaches, and despite considering an appropriate range of threats. We find a need for developer-centered usable mechanisms for telling developers how to store passwords: lists of what they must do are not working.
AB - Does the act of writing a specification (how the code should behave) for a piece of security sensitive code lead to developers producing more secure code? We asked 138 developers to write a snippet of code to store a password: Half of them were asked to write down a specification of how the code should behave before writing the program, the other half were asked to write the code but without being prompted to write a specification first. We find that explicitly prompting developers to write a specification has a small positive effect on the security of password storage approaches implemented. However, developers often fail to store passwords securely, despite claiming to be confident and knowledgeable in their approaches, and despite considering an appropriate range of threats. We find a need for developer-centered usable mechanisms for telling developers how to store passwords: lists of what they must do are not working.
U2 - 10.1109/ICSE43902.2021.00053
DO - 10.1109/ICSE43902.2021.00053
M3 - Conference Contribution (Conference Proceeding)
SN - 9781665402965
BT - 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)
PB - Institute of Electrical and Electronics Engineers (IEEE)
CY - Madrid, Spain
ER -