Update version to 0.5.1
Fix #36: Enable access to restricted files

Restricted files cannot be downloaded by viewers, but they can be
downloaded by authorized apps.