########## Start - Sekcja Uwierzytelnienie
AuthUserFile /var/auth/user/.htpasswd
## gdy nie stworzono pliku opisu grup umiesc
AuthGroupFile /dev/null
## albo - jesli stworzono plik opisu grup - odkomentuj i umiesc
#AuthGroupFile /var/auth/user/.htgroups #jesli stworzono
AuthName "Obszar chroniony"
AuthType Basic
# uzyj linii ponizej gdy jest plik opisu grupy admini (nazwa przykladowa)
require group admini
# albo zakomentuj linie powyzej a odkomentuj i uzyj ponizszej, gdy brak pliku o$
Require valid-user
########## Koniec - Sekcja Uwierzytelnienie
.htpasswd file in /var/auth/user/ (permissions 777):
For a schoolproject, I have to set up an intranet at a company headquarters in the Netherlands. But they want to give the division in the United States access to that intranet.
I have to find out how to do that. I've heard that you can do that by giving certain people access to the intranet with... (1 Reply)
i want to protect a folder on my HP....
does the folder need more than ".htaccess" and ".htpasswd" to be protected , and ask for login and password???
Please help ......
i use HTAdmin 1.2.1 to manage my access files..
The systemadmin cant or wount answer.....:confused:
Avenger (3 Replies)
Something is wrong. I do everything right make the .htaccess file and stuff, but when I try the htpasswd command it says command not found. I use Putty SSH client and I think server is running RedHat 7.1 with Apache some version.
HELP!!! (1 Reply)
dear unix,
need ur help, i have installed apache n apache is working... but i cant use htpasswd , the error said command not found. for web authentucation...
thanks for any help
:confused: (4 Replies)
I need to take our unix password file and make the usernames and passwords in a .htpasswd file to protect some webpages. I really dont want to type them in. Any suggestions how I do this?
/---Frank----/ (4 Replies)
I wrote a script to batch-create directories with .htaccess and .htpasswd files.
I am using the following line to create the .htpasswd file:
htpasswd -cb .htpasswd $USER $PASS
However, I keep getting this message in return:
Usage: htpasswd passwordfile username
The -c flag creates a new... (1 Reply)
Hi,
I would like to use htaccess 301 redirect with URL hiding.
Ex:
when browse the website 'abc.com' it should show the contents of the page 'xyz.com/start/index.html' but in addressbar should show the domain 'abc.com'. I know it works with html URL frame rewrite. But my question is it... (0 Replies)
I have the following directive in my .htaccess:
#RewriteRule ^mozrank/?$ "http://www.seobook.com/#a_aid=dh"
The problem is that the redirect is going to
http://www.seobook.com/%23a_aid=dh
How to preserve the # when redirecting? (2 Replies)
Discussion started by: rlopes
2 Replies
LEARN ABOUT DEBIAN
squid3_ncsa_auth
ncsa_auth(8) System Manager's Manual ncsa_auth(8)NAME
ncsa_auth - NCSA httpd-style password file authentication helper for Squid
SYNOPSIS
ncsa_auth passwdfile
DESCRIPTION
ncsa_auth allows Squid to read and authenticate user and password information from an NCSA/Apache httpd-style password file when using
basic HTTP authentication.
The only parameter is the password file. It must have permissions to be read by the user that Squid is running as (cache_effective_user in
squid.conf).
This password file can be manipulated using htpasswd.
* MD5 - with optional salt and magic strings * DES - for passwords 8 characters or less in length
OPTIONS
Only specify the password file name.
EXAMPLE
ncsa_auth /etc/squid/squid.pass
SECURITY
ncsa_auth must have access to the password file to be executed.
KNOWN ISSUES
DES functionality (used by htpasswd by default) silently truncates passwords to 8 characters. Allowing login with password values shorter
than the one desired. This authenticator will reject login with long passwords when using DES.
SEE ALSO htpasswd(1), squid(8)AUTHOR
Manpage written by Rodrigo Rubira Branco <rrbranco@br.ibm.com>
Squid NCSA Auth helper May 16, 2006 ncsa_auth(8)