Originally Posted by your_shadow03
I want some document to be restricted such as requiring a username and password while other to be available to the pubic.
Say, I have the following directory access:
Index of /publish
[ICO] Name Last modified Size Description
[DIR] Parent Directory -
[DIR] Fedora-9/ 22-Oct-2009 18:11 -
[DIR] Fedora-11/ 22-Oct-2009 18:01 -
Apache/2.2.11 (Fedora) Server at localhost Port 80
Under Fedora-11, I have three directories:
Which I need users to access with username/password?
How can I setup the same?
Set up WHAT? You don't say how you want users to access this...over a web page? FTP? SSH? Or if you want access to directories to be password-protected, or if this is just files, or give any real details.
If you mean over the web, then write a web site that prompts users for an ID/password to enter a directory. Get Apache running on your box, and write the page(s), or find templates out on the Internet to help you. There are lots of web languages (PHP, Java, Ruby-on-Rails, etc.), along with lots of ways to accomplish this.