You are here

function security_review_unsafe_extensions in Security Review 6

Same name and namespace in other branches
  1. 7 security_review.inc \security_review_unsafe_extensions()

Helper function defines file extensions considered unsafe.

2 calls to security_review_unsafe_extensions()
security_review_check_filefield_extensions in ./security_review.inc
A Security Review check for allowed extensions on Filefield fields.
security_review_check_upload_extensions in ./security_review.inc
Check for unsafe allowed extensions.

File

./security_review.inc, line 776
Stand-alone security checks and review system.

Code

function security_review_unsafe_extensions() {
  return array(
    'swf',
    'exe',
    'html',
    'htm',
    'php',
    'phtml',
    'py',
    'js',
    'vb',
    'vbe',
    'vbs',
  );
}