Interstage HTTP Serverにおいて、Servletサービスのアプリケーションに対してアクセス制御を設定できますか?
- Servletサービスのアプリケーションに対してアクセス制御(ユーザー認証/IPアクセスコントロール/オンライン照合機能)を設定できますか?
- 設定できます。
ServletサービスのアプリケーションのURLに対してアクセス制御を設定する場合は、環境定義ファイル(httpd.conf)において、<location>セクションを使用して設定します。
ServletサービスのアプリケーションのURL「/j2eesample」に対して、パスワードファイル「password.txt」に登録されているユーザーのアクセスだけを許可する場合の設定例(V9以降)を以下に示します。
-
Windows
LoadModule auth_module "C:/Interstage/F3FMihs/modules/mod_auth.so"
<Location /j2eesample>
AuthUserFile "C:/Interstage/F3FMihs/servers/FJapache/conf/password.txt"
AuthName "Secret directory"
AuthType Basic
Require valid-user
</location> -
Solaris/Linux
LoadModule auth_module "/opt/FJSVihs/modules/mod_auth.so"
<Location /j2eesample>
AuthUserFile "/opt/FJSVihs/servers/FJapache/conf/password.txt"
AuthName "Secret directory"
AuthType Basic
Require valid-user
</location>
-
製品・サービス区分 | Interstage | ||||||
---|---|---|---|---|---|---|---|
製品・サービス情報 |
|
||||||
アンサー種別 | 運用/保守 |