WebAppSec/Secure Coding Guidelines: Difference between revisions

Jump to navigation Jump to search
Line 315: Line 315:


'''Upload Storage'''
'''Upload Storage'''
* Use a new filename to store the image on the OS. Do not use any user controlled text for this filename.
* Use a new filename to store the image on the OS. Do not use any user controlled text for this filename or for the temporary filename.
* Store all user uploaded files on a separate domain (e.g. mozillafiles.net vs mozilla.org)
* Store all user uploaded files on a separate domain (e.g. mozillafiles.net vs mozilla.org)


Confirmed users
491

edits

Navigation menu