Forum Moderators: phranque

Message Too Old, No Replies

Apache File Encryption Module

         

ApacheOne

2:16 pm on Dec 5, 2008 (gmt 0)

10+ Year Member



Hi,

I was wondering if anyone knows of a module that encrypts the files that the Apache web server reads or writes to. Basically I'm in a position where I'm using a wiki as a documentation system. The wiki is written in PHP and saves the content as text files. I'm trying to make sure that the system administrator of the OS (different from one responsible for the wiki) doesn't have access to read these files. I can modify the Apache configuration as I like (load any modules, etc.). Does such a module exist? Thanks.

jdMorgan

3:24 pm on Dec 5, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If such a module does exist, then your admin will have access to it and can then write a simple script (or find one) that he/she can use to read the files.

This is an access-control and privileges problem and should be addressed as such, rather than as an encryption problem; Anything that you can encrypt, the admin can decrypt, so you would be wasting a lot of CPU resources and slowing down the site for little gain.

If there is something you don't trust the admin to see, then either that person should not be the admin, or a re-assessment of the admin's privileges on this server needs to be made by whoever runs the IT department.

Jim

ApacheOne

6:12 pm on Dec 5, 2008 (gmt 0)

10+ Year Member



Hi jdMorgan,

Thank you for your reply. You're right. But there are situations where:

* this would be useful
* it's not easy to change the current access-control / privileges

For such situations, a module like this would be useful in these situations. Also, it doesn't have to be straight-forward for the admin to get the password. Sure you can't protect from a determined sys admin that is really determined, but for most other cases, you could protect the pages.