Forum Moderators: phranque

Message Too Old, No Replies

digest access authentication

         

sentinel78

4:24 pm on Jun 22, 2005 (gmt 0)



greetings from austria!

i have to deny access to a certain directory /private on my apache. it should only be accessible for users of a 'realm nws55'. i have already read a lot about authentication but still cannot find the solution. first of all i do not quite understand the term 'realm'. anyway, I was told that this realm should contain some specific users.

what i've done so far: created the directory private/, created the password file with htpasswd.
well, i don't really know how to configure the .htaccess file and/or access.conf.

does anybody know?

thanks
reinhard

coopster

12:29 am on Jun 23, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, sentinel78.

*realm* is a term used to describe what will appear in the password dialog provided by most browsers when using Apache's AuthName [httpd.apache.org] directive. You know, that little window that pops up and prompts you for a username and password to enter your "Top Secret" area. "Top Secret" is a name you would assign to the area and that is what is known as the "Realm".

You may also want to check into Apache's mod_access [httpd.apache.org] module. It also offers some powerful options to allow or deny access to certain files or directories.