Reference - https://wiki.exphosted.com/doku.php/protect_direct_download_of_contents#deployment_related_changes
» Backup present in /deploy/crossbow/shared/system/uploaded_datas_backup_oslo_deployment
» Dump present in /home/expprodl/backups/posts_oct_22_oslo_deployment.sql
Create /deploy/crossbow/shared/assets/protected folder. Will house all the protected contents.
cd /deploy/crossbow/shared/assets mkdir protected
Modify the deploy.rb to add following line in the :symlink task
run "ln -nfs #{shared_path}/assets/protected #{release_path}/assets"
» Backup is present at /deploy/crossbow/shared/system/uploaded_datas_backup_sept_202013
» Backup is present at /home/expdev01/backups/posts_backup_sept202013.sql
Create /deploy/crossbow/shared/assets/protected folder. Will house all the protected contents.
cd /deploy/crossbow/shared/assets mkdir protected
Modify the deploy.rb to add following line in the :symlink task
run "ln -nfs #{shared_path}/assets/protected #{release_path}/assets"