Private file form redirects

From #2719.