Home arrow foXServe arrow Realms: Areas of Controlled Access
Realms: Areas of Controlled Access PDF Print E-mail

In terms of voluntary control mechanisms on the Web, each protected area, whether it be a single document or an entire server, is called a realm. When a server challenges a client for credentials, it provides the name of the realm so the client can figure out which credentials to send.

The name of a realm is specified in the Apache configuration files with the AuthName directive, which takes a single argument: the name of the realm.
The ScreenCast session explain how to apply it, look to the desktop recording of realm creation .

This directive could be applied to <directory> and <location> inside apache httpd.conf and works also when modules are applied, for example WEBDAV.
The directive must be placed inside httpd.conf and require that you reboot apache with apachectl graceful

In this example we will apply a REALM to the test location:

 <Location /test>
    AllowOverride None
    Options None
      AuthType Basic
      AuthName "Protected Area"
      AuthUserFile /mnt/flash/.htpasswd
      # only authenticated users may access this location
      Require valid-user
</Location>

 The directive AuthUserFile specify the place where access credential are placed. To generate this file you should use htpasswd command:

htpasswd -c .htpasswd username

The command syntax is -c (create) filename (.htpasswd) and the username to use (MAN PAGES )

See also:
 
< Prev   Next >

Easy Guardian

Server / Network  monitoring
appliance devoted website
easy guardian
http://www.easyguardian.com

FoxBox dedicated website

Login Form






Lost Password?
No account yet? Register

Partner

Artera propone servizi di registrazione domini internet, hosting professionale, housing e server dedicati

Robotoons Publishing

 

 


ABOUT SSL CERTIFICATES



Product description Price Code Qt.y
SMS FoxBox

SMS FoxBox

The new FoxBox G20 is a Linux microserver that provides innovative functionalities for MMS and SMS management and integrates easy guardian for monitoring network devices.

830 EUR FOXBOXG20

2009 KDEV di Davide Cantaluppi, P.IVA 02984320131
KDEV SMS è un servizio di KDEV System Development    FoxBox SMS-MMS Hardware Gateway - FoxBox appliance
SMS KDEV sms inbound SMS KDEV ricevi ed elabora tuoi SMS e invia SMS con altissime prestazioni

spacer.png, 0 kB
spacer.png, 0 kB