Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Can i set password for directories

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 14-10-2009
Member
 
Join Date: Jul 2009
Posts: 154
Can i set password for directories
  

Hello,
I want to protect some folders on network by setting a password on it, is this possible with some software? How can i set password for my ACtive directory??
Any suggestion?

Reply With Quote
  #2  
Old 14-10-2009
Member
 
Join Date: Apr 2008
Posts: 3,426
re: Can i set password for directories

You can set Apache Password Protection to your directories. By this you can keep your file safe from unauthorized users and search engines.To create apache password protected directories you need Password file and Directory name which you would like to password protect.Make sure Apache is configured to use .htaccess file.You have to have Allow Override AuthConfig directive in httpd.conf file in order for these directives to have any effect. Look for Document Root Directory entry, then set the password for your file.And it will be done.
Reply With Quote
  #3  
Old 14-10-2009
Member
 
Join Date: Jan 2006
Posts: 4,233
How to set password for Active Directory

Setting a password for directory help to keep your data safe.following are the basic steps to password protect a directory:
1 Create the directory area and set permissions to read the area.
2 Create a file called .htaccess in the directory you want to protect.
Inthat In that file, type in these lines:

AuthUserFile /your/directory/here/.htpasswd
AuthGroupFile /dev/null
AuthName "Secure Document"
AuthType Basic

<LIMIT GET PUT POST>
require user username
</LIMIT>
3 Create a file called .htpasswd in the same directory as .htaccess.
4 Change the password or username.
5 change the permissions on the files.
Reply With Quote
  #4  
Old 14-10-2009
Member
 
Join Date: May 2008
Posts: 2,950
re: Can i set password for directories

You have to NTFs partion on your disk.
1. Click on the Password protect this directory text box.
2. type the name for user and set password.
3. Click on the Save button.
4. You will see the following confirmation:
* "The access permissions for PATH_TO_PASSWORD_PROTECTED_DIRECTORY have been set."
5. Click on the Go Back link.
6. When the page loads you will see your settings have been saved in the "Security Settings" section.
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Can i set password for directories"
Thread Thread Starter Forum Replies Last Post
scripts to list all users, home directories, and their home directories sizes ngwodo Technology & Internet 3 16-07-2011 03:03 AM
Which web directories are beneficial VENMANI Technology & Internet 4 21-01-2011 06:41 AM
Are directories worth Mercia mAC Technology & Internet 3 19-01-2011 01:47 AM
What are the different binary directories of Mac Spiero Operating Systems 5 03-03-2010 12:26 PM
Problem with Directories goatape Operating Systems 2 15-09-2008 01:23 PM


All times are GMT +5.5. The time now is 10:04 AM.