Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-14-2003, 10:16 AM   #1
Registered: Apr 2003
Location: belgium
Distribution: debian
Posts: 72

Rep: Reputation: 15
encrypted filesystem with apache needing access


what is 'a good/the best' way to go if you want to accomplish:
- data in a webdir (php files) not 'viewable', but accessible by apache to serve webusers.
- data not accessible if you should place the disk physically in a different system

Anyway, you got the point I think.

Data needs to be encrypted, not accessible by end users, only by the original creator of the 'system' who must know the 'ID', 'passphrase', 'key' or whatever..

The bigger problem is that apache needs those .php files to serve 'm to webclients (oh, include mysql files too, but if we can solve 1, we can solve 2 :-))....

Old 10-14-2003, 10:21 AM   #2
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
Put the PHP files that apache needs in PHP's path (/usr/lib/php or something like that), but outside Apaches document tree.
I think it works! You'll need to put a PHP file in Apaches document tree (obviously - how else will the users get at it?), but use include(file.php) for the others. If you don't put include(./file.php), notice the dot slash, I think PHP's default behaviour is to look in the current document base, and then it's include path.
Re: placing the disk somewhere else, dunno sorry!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dm-crypt: Moving Encrypted Filesystem hamish Linux - Security 2 07-21-2005 02:57 AM
Setting up encrypted filesystem zahoo Linux - Software 2 06-27-2005 01:17 PM
encrypted filesystem done -now what? randomx Linux - Security 1 04-27-2005 06:13 AM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
encrypted virtual filesystem EdoardoC Linux - Security 6 04-19-2004 10:16 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration