Jump to content


how to encrypt certain dirs?

  • Please log in to reply
2 replies to this topic

#1 Wizumwalt

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 11 September 2006 - 02:39 PM

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?

#2 R_P

  • Members
  • PipPipPip
  • Advanced Member
  • 98 posts

Posted 11 September 2006 - 02:57 PM

You can assign usernames and passwords at the directory level by using .htaccess.

Here's a rather simple tutorial on setting in up:

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:

Pro in: Win2K3S | Apache2 | PHP5 | Perl5 | MySQL | MSSQL | Firefox | Photoshop
Student of: Ubuntu6 | Java | C | VB.NET | ASP.NET
Developer: Roddzilla Webstudios, Burrson CG, DVIDSHUB, The Four Nations
Student: Georgia Tech, Georgia Tech College of Computing

#3 oldmanice

  • Members
  • PipPipPip
  • Advanced Member
  • 134 posts
  • LocationIn Your Garden At Night

Posted 11 September 2006 - 08:04 PM

Just use htaccess
Join my Froums www.phpbbplanet.com/darkwinter

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users