access
based on user IP address
examples
set editing permission 'admin'
validate:[HTTP_X_REAL_IP]==[adminIP] OR 123.45.67.89
applier:ValuePlacer
fileEdit:on
place:FTdata
stop parsing a ctxt file
validate:[HTTP_X_REAL_IP]!=[adminIP]
procede:break
How it works
- Access Check (`validate`)
- Rule: `[HTTP_X_REAL_IP]==[adminIP]`
- The system compares the visitor’s real IP with the `adminIP` value stored in FTdata.
- If they match → the part runs.
- If they do not match → the part is completely blocked.
- Applier (`ValuePlacer`)
- Executes only after validation succeeds.
- Places the part’s evaluated value into FTdata.
- Placement (`place:FTdata`)
- The final value becomes available for any later template reference like `[key]`.
- File Editing (`fileEdit:on`)
- Enables file modification actions within the part.
- Works only when the IP validation allows execution.