Add .htaccess to protect library folder the same way core folder is protected.