概要
ver.B.b16以降においてLANDSCAPEサーバにおいて認証機能を実装した。そのための関数をここで解説する。LANDSCAPEサーバにおいて、xldocs配下の各ディレクトリにあるコンテンツを認証によって保護作成するためには、保護したいディレクトリに、「.xlaccess」という不可視ファイルをおき、ここに認証命令を設定することによって実現する。いわばapacheの.htaccessのようなファイルである。その一例を以下に挙げる。
<?xl version="0.1" encoding="UTF-8"?>
<authentification>
<service
name="access-admin"
type="fix-user-passwd"
user="Etsuransha"
passwd="etsu1523"
description="Aero Photograph"
description-url="http://www.globalbase.org/"
/>
<service
name="root-admin"
type="localhost-root"
/>
<target prefix=".mtx" operation="Get">
access-admin
</target>
<target prefix=".mtx" operation="Get">
root-admin
</target>
<target prefix=".lst" operation="Get">
access-admin
</target>
<target prefix=".lst" operation="Get">
root-admin
</target>
</authentification>
基本的には、authentification環境の中において、serviceにより認証の単位となる