LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 10-22-2009, 05:42 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Making some puclically accessible while some with authentication?


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:

Code:
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:

SOURCE
GPG-KEY
SRC

Which I need users to access with username/password?
How can I setup the same?
 
Old 10-23-2009, 02:45 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,336

Rep: Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896Reputation: 3896
Quote:
Originally Posted by your_shadow03 View Post
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:

Code:
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:

SOURCE
GPG-KEY
SRC

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.
 
Old 10-23-2009, 04:52 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Closed ... one of serverl (>5 dupes/closely related threads)
 
  


Closed Thread


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
Making sshd accessible outside the LAN WhatsUnderThere Linux - Networking 5 03-17-2009 01:42 AM
Making grub.conf accessible from Windows bercy46 Linux - Newbie 2 10-13-2006 06:44 PM
LXer: Making voice more accessible with OSS LXer Syndicated Linux News 0 03-28-2006 08:21 PM
making mounted drives accessible to user pablowablo Linux - Newbie 7 07-27-2004 05:42 PM
Making programs accessible from command line simsjr Linux - Software 5 04-27-2004 09:56 AM


All times are GMT -5. The time now is 07:11 AM.

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