aspose file tools*
The moose likes Tomcat and the fly likes problem protecting resources with basic authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem protecting resources with basic authentication" Watch "problem protecting resources with basic authentication" New topic
Author

problem protecting resources with basic authentication

Shraddha Jain
Greenhorn

Joined: Feb 02, 2006
Posts: 27
i want to protect some resources on my web page using basic
authentication.
i have defined groups in the file \etc\group

defined usrs and passwords in \usr\local\apache\passwd\passwords file
in the httpd conf file i have specifie dthe follwing directive for each
of the directories i want to protect
<Directory "/home/confidential>
AuthName "confidential"
Authtype Basic
AuthUserFile \usr\local\apache\passwd\passwords
AuthGroupFile \etc\group
require group admin
</Directive>
the group file looks like this


admin: x:998:abc,xyz


after restarting the server, when i try to acess this file , i get the
dialog box challenging for the user name password, but i cannot login
as abc or xyz who are authorised to recieve the document.


where am i going wrong?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem protecting resources with basic authentication
 
Similar Threads
Which one is first? Authentication/Authorisation
Apache HTTP 403 Response
Conditionally protecting app by IP range
Basic authentication using custom Login Module in WAS 6.1
Servlet 404 and JkMount configuration - encountered some problem (Apache/Tomcat)