CGI Script Permissions Question
My cronjob scripts have permission 0700. But I can start it from browser. How to setup permissions to prevent start scripts with 0700 from web-browser?
I have permissions:
/cgi-bin/ - 0755
/cgi-bin/scripts.cgi - 0755
/cgi-bin/cron-scripts.cgi - 0700
I fill stupid ... :( Please help!
-
Hello, You could setup a .htaccess file to the directory the files are stored in with an entry like this if you wanted to prevent browser access to CGI and Perl files: Require all denied ## For apache 2.2 and older, replace "Require all denied" with these two lines : # Order deny,allow # Deny from all
Thank you.0 -
Thank you. I found SUEXEC has been turned ON. 0
Please sign in to leave a comment.
Comments
2 comments