Jump to content

Archived

This topic is now archived and is closed to further replies.

Wizumwalt

how to encrypt certain dirs?

Recommended Posts

Hey all,

I've got apache2 running but I have a directory that I'd like for my users to only have access to when authorized and have everything under this dir, and other dirs, to be encrypted.

How is this done?

Share this post


Link to post
Share on other sites
You can assign usernames and passwords at the directory level by using .htaccess.

Here's a rather simple tutorial on setting in up:
http://www.sysbotz.com/articles/webprotect.htm

You will also (in addition to the tutorial above) need to change a setting in your httpd.conf:
Change:  AllowOverride None
To:        AllowOverride AuthConfig

Once you got the hang of it, I'd also recommend taking a more in depth look:
http://apache-server.com/tutorials/ATusing-htaccess.html

Cheers.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.