出来るのだASP Q&A掲示板(過去LOG)  訪問数 52046 昨日 889 今日 776
    【PR】 パソコン入門からIT専門書まで幅広く取り揃えています。セブン-イレブン受取り手数料無料のセブンアンドワイ。
Topに戻る 掲示板に戻る 検索 削除 管理者

AspEnableParentPathsの設定変更方法   KAZU777さん [01/07/13 15:16:35] [427]
  Re:AspEnableParentPathsの設定変更方法   arikさん [01/07/13 17:29:56] [429]

[427] AspEnableParentPathsの設定変更方法
投稿者:KAZU777さん 01/07/13 15:16:35
AspEnableParentPathsプロパティ(ブール型)の規定値はFalseですが、これをTrueに変更したいのですが、どのように変更してよいのかわかりません。知っている方いらしたら教えてください。
マイクロソフトのホームページにそれらしい事がかいてあるのですが、よくわかりません。
http://www.microsoft.com/japan/developer/library/jpiis/iishelp/iis/asp/apro00vn.htm

[429] Re:AspEnableParentPathsの設定変更方法
投稿者:arikさん 01/07/13 17:29:56
> http://www.microsoft.com/japan/developer/library/jpiis/iishelp/iis/asp/apro00vn.htm
このページの左上のリンクをクリックして目次を表示してください。
そして、目次の「管理プロパティリファレンス」を読んでください。

ちなみに、手持ちの2001/4リリースのMSDNでは以下のように規定値はTrueになっていました。
さて、どちらが正しいのやら。

AspEnableParentPaths
This property specifies whether an ASP page can allow paths relative to the current directory (using the ..\ notation). If set to TRUE, it constitutes a potential security risk because an include path could access critical or confidential files outside the application's root directory.

Data type Boolean
Default value TRUE
Inheritance Inheritable


Access Locations
This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer
/LM/W3SVC/N/ROOT IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory IIsWebDirectory


IIS Admin Base Object Information
The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_ASP_ENABLEPARENTPATHS
Data type DWORD_METADATA
User type ASP_MD_UT_APP



TreeBBS For ASP V.0.1.3
Program By YasNet