Htaccess file permission

Hello
this is protected folder htaccess

Require all denied

<IfModule !authz_core_module>
Deny from all

I try to give access to a cron via http.
/protected/yii

Thanks all