Order Allow,Deny
Deny from all
<Files ~ "\.(css|jpe?g|png|gif|js|swf|f4v|flv|woff|ttf|pdf|wav|htc|eot|doc?x|xls?x|ppt?x|xml|CSS|JPE?G|PNG|GIF|JS|SWF|F4V|FLV|WOFF|TTF|PDF|WAV|HTC|EOT|DOC?X|XLS?X|PPT?X)$">
 Allow from all
</Files>

# If we want to allow certain plugins such as timthumb.php or thumb.php, we can append the following to our wp-content/.htaccess file:
<Files "timthumb.php">
 Allow from all
</Files>

<Files "thumb.php">
 Allow from all
</Files>

<Files "shortcodespro-edit-js.php">
 Allow from all
</Files>