1. A method implemented by one or more processors, wherein the one or more processors execute instructions stored on a memory to perform the method steps comprising: redacting one or more code sections from dynamic scripting language program source code; inserting a respective placeholder in the program source code for each redacted code section to generate redacted program code; compiling the redacted program code to generate compiled code; receiving a request for a redacted code section of the compiled code; determining that the requested code section is not in a memory and based thereon: identifying a location in a storage where the requested redacted code section is stored from the respective placeholder of the requested code section; obtaining the requested redacted code section from the identified storage location; and modifying the compiled code to include the obtained redacted code section.