Protecting PHP packages on server

Posted by Jack on Server Fault See other posts from Server Fault or by Jack
Published on 2011-01-17T11:24:32Z Indexed on 2011/01/17 11:55 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

Hi, I am a php developer and have recently decided to make one of my Magento extensions commercial. I have downloaded and configured MageParts CEM Server and that is all working perfectly in regard to licencing and delivery of module packages. The only issue is that the directory that the packages are stored in could be accessed by anyone. I tried this in a .htaccess file, but now it is not working.

<Files services.wsdl>
allow from all
</Files>

deny from all

Clients are receiving a 403 Forbidden response. Have I done something wrong in the .htaccess file or would there be a better way to secure the directory?

Any help would be greatly appreciated.

© Server Fault or respective owner

Related posts about security

Related posts about .htaccess