Realms: Areas of Controlled Access 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 >

FoxBox dedicated website

A new website dedicated to
SMS /MMS foxbox is online!
foxbox website

SMPP server interface

You are searching SMS speed?
KDEV SMS
http://www.smskdev.it



SMS gateway FoxBOx
buy foxbox
buy on FoxBox eShop



For further info contact us by mail This e-mail address is being protected from spam bots, you need JavaScript enabled to view it providing us the FoxBox model you need and your company details.


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