![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 73](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653073.webp)
PathCheck Stage
Chapter
3
Predefined SAFs and the Request Handling Process
73
Examples
In this example, whenever the server receives a request for any resource containing
the substring
secret
that resides in
D:/netscape/servers/docs/nikki/
or a
subdirectory thereof, it searches for a configuration file called
checkaccess.nsconfig
.
The server starts the search in the directory
D:/netscape/servers/docs/nikki
,
and searches subdirectories too. It loads each instance of
checkaccess.nsconfig
that it finds, applying the access control rules contained therein to determine
whether the client is allowed to access the requested resource or not.
nt-uri-clean
Applicable in
PathCheck
-class directives.
Windows NT/Windows 2000 Only.
The
nt-uri-clean
function denies access to
any resource whose physical path contains
\.\
,
\..\
or
\\
(these are potential
security problems).
Parameters
Examples
<Object ppath="*secret*">
PathCheck fn="load-config" file="checkaccess.nsconfig"
basedir="D:/netscape/servers/docs/nikki" descend="1"
</Object>
bucket
optional, common to all
obj.conf
functions
tildeok
if present, allows tilde”~” characters in URIs. This is a potential
security risk on Windows NT/Windows 2000, where
longfi~1.htm
might reference
longfilename.htm
but does
not go through the proper ACL checking. If present, “
//”
sequences are allowed.
dotdirok
If present, “
//”
sequences are allowed.
PathCheck fn=nt-uri-clean
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...