Protecting Python Data Apache2

view full story

http://serverfault.com – i have a doubt about protection of Python Code. I'm not meaning just "Obfuscation", so, i've read a lot of topics about this subject, and i choose to put my application behind a web interface. So, it's done. I execute my code trough a CGI script behind a Web interface, so, i don't need to send my .py file anymore. But, i still have concern about protection. Is there some well known manual where i can find information about Apache and how to protect my home directory against "undesirable downloads"?? So, my .py file (real code) is not acessed directly, but, it's there. So, how can i protect (HowTos)