How to block access to a folder inside of wp-content for non logged in users?

How to block access to a folder inside of wp-content for non logged in users?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)