Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD5 hash of contents #5

Open
dannykopping opened this issue Apr 23, 2011 · 0 comments
Open

MD5 hash of contents #5

dannykopping opened this issue Apr 23, 2011 · 0 comments

Comments

@dannykopping
Copy link
Member

Prevent modified files from being overwritten by having a hidden file in the services & VO folders containing MD5 hashes of the contents of each of the files. When Admin attempts to rewrite the file, check the hash and:

a) if no file exists, create one with all files' hashes
b) if no hash exists for the file, add it to the file
c) if a hash exists, compare it to the new hash:

  • if they match, do nothing
  • if they differ, offer a choice to the user to overwrite this file (or all subsequent files - "Yes to All")
@ghost ghost assigned dannykopping Apr 23, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant