Hello!

I've got a script which I'm using in a CRON job that shouldn't be accessed by anyone except for me. I know that if I put it outside of my public_html folder, nobody on the web can access it. The only downside is that to make it easily accessible in terms of uploading changes, it would have to be in a folder inside my public_html. Can I achieve the same level of security if I add an .htaccess file with "deny from all" in my public_html subfolder that contains the CRON job as if I had it outside the public_html folder?