LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-13-2007, 05:17 PM   #1
shrimpwagon
LQ Newbie
 
Registered: Apr 2006
Location: Goose Creek, SC
Distribution: SimplyMEPIS 3.3.1-1 (2.6.10)
Posts: 7

Rep: Reputation: 0
Aapache directory access login authentication


Want to know how to setup Directory access like so:

Require login IF user isn't inside of a given IP address.

I know of this:

<Directory /...>
Order Deny,Allow
Deny from all
Allow from 192.168.0

AuthType Basic
AuthName "Password Required"
AuthUserFile /www/passwords/password.file
AuthGroupFile /www/passwords/group.file
Require Group admins
</Directory>

BUT...it is still requiring a password if they are inside of the allowed IP address AND nobody can access it outside of that address.

I just want them to be able to get right in without having to be authenticated IF they are inside the IP address BUT be authenticated if they are outside of that IP address.

Any help would be spectacular.

Thank you so much,

Shawn
 
Old 03-13-2007, 05:45 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
Order Allow,Deny
Allow from www.xxx.yyy.zzz

AuthType Basic
AuthName "somename"
AuthUserFile /etc/apache2/.users
Require valid-user

satisfy any
 
Old 03-13-2007, 08:55 PM   #3
shrimpwagon
LQ Newbie
 
Registered: Apr 2006
Location: Goose Creek, SC
Distribution: SimplyMEPIS 3.3.1-1 (2.6.10)
Posts: 7

Original Poster
Rep: Reputation: 0
You rock bro! Thanks!
 
  


Reply


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
Active Directory Authentication zenix Suse/Novell 29 03-22-2007 10:00 AM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM
Active Directory authentication? cwhitmore Mandriva 3 03-09-2005 11:25 AM
active directory authentication mozilla Linux - Networking 2 02-21-2005 04:55 AM
Proftpd, Anonymous Access, Directory Authentication bskouby Linux - Newbie 0 03-23-2004 03:08 PM


All times are GMT -5. The time now is 04:34 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration