Secure Global Desktop 4.31 管理者ガイド
> ユーザーと認証
> ブラウザベース Webtop での Web サーバー認証
ブラウザベース Webtop の Web サーバー認証を有効にするには、次の手順を実行します。
/sgd
URL へのアクセスを保護するように Web サーバーを設定します。 /opt/tarantella/webserver/tomcat/version/conf/server.xml
ファイルを編集します。次の属性を、Coyote/JK2 AJP 1.3 Connector のコネクタ要素 (<Connector>
) に追加します。tomcatAuthentication="false"
/sgd
URL を保護する方法は、Web サーバーによって異なります。詳細については、Web サーバーのマニュアルを参照してください。Secure Global Desktop Web Server の場合は、Apache のマニュアルを参照してください。/sgd
URL を保護することができます。Apache を使用することをお勧めします。tarantella config edit --tarantella-config-login-thirdparty-allowadmins 1
ここでは、Web サーバー認証を使用できるように Secure Global Desktop Web Server を設定する手順の例を紹介します。
/opt/tarantella/webserver/apache/version/bin/htpasswd
バイナリを使用して、Web サーバーのパスワードファイルを作成します。/opt/tarantella/webserver/apache/version/conf/httpd.conf
ファイルを編集して、次のディレクトリディレクティブを挿入します。
file-path は Web サーバーのパスワードファイルへのフルパス、SetEnvIf Request_URI "\.(cab|jar|gif|der)$" sgd_noauth_ok <LocationMatch /sgd> Order Allow,Deny Allow from env=sgd_noauth_ok AuthUserFile file-path AuthName auth-domain Authtype Basic Require valid-user Satisfy any </LocationMatch>
tarantella webserver restart
) して、設定の変更を有効にします。httpd.conf
ファイル内で、/sgd
URL の管理が Tomcat に委譲されるためです。このため、.htaccess
ファイルを使用して /sgd
URL を保護することはできません。Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.