Skip to content

Modify javascript of contract #18

Answered by nonsalant
UnMugViolet asked this question in Q&A
Discussion options

You must be logged in to vote

Hi.

If by “recipient” you mean the person editing/creating(/downloading/etc) the contract (this would also be the person who puts down the first signature), this is the script that catches al the data and puts it together: https://github.com/nonsalant/contract/blob/master/generator/scripts/download/generate.js

But I’m not sure if any effective protections can be added—or if they would be needed here. As the creator of the contract, they need to be able to edit all (or at least most) parts of the contract, and since they need to download the resulting file (before they upload it again to the final PHP-enabled server) they’d have access to the full source where they can change any PHP, HTML…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nonsalant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants