rp_file_can_be_public_p (private)
rp_file_can_be_public_p path
Defined in packages/acs-tcl/tcl/request-processor-procs.tcl
Determines if -- absent application restrictions -- a file can be served to a client without violating simple security checks. The checks do not require the initialization of ad_conn or expensive permission:: calls. Log a warning when the file must not be served. The caller handles the response.
- Parameters:
- path (required)
- The file to perform the simple security checks on.
- Returns:
- 0 if the file must not be served. 1 if the application should perform its own checks, if any.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.