railo.runtime.security
Class ScriptProtect

java.lang.Object
  extended by railo.runtime.security.ScriptProtect

public final class ScriptProtect
extends Object

Script-protect to remove cross-attacks from strings


Field Summary
static String[] invalids
           
 
Constructor Summary
ScriptProtect()
           
 
Method Summary
static void main(String[] args)
           
static String translate(String str)
          translate string to script-protected form
static void translate(Struct sct)
          translate all strig values of the struct i script-protected form
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

invalids

public static final String[] invalids
Constructor Detail

ScriptProtect

public ScriptProtect()
Method Detail

translate

public static void translate(Struct sct)
translate all strig values of the struct i script-protected form

Parameters:
sct - Struct to translate its values

translate

public static String translate(String str)
translate string to script-protected form

Parameters:
str -
Returns:
translated String

main

public static void main(String[] args)
Parameters:
args -


Copyright © 2012 Railo