You are here

function security_review_unsafe_extensions in Security Review 7

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

Helper function defines file extensions considered unsafe.

1 call to security_review_unsafe_extensions()
security_review_check_upload_extensions in ./security_review.inc

File

./security_review.inc, line 829
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',
  );
}