File download and public access : how to restrict form ?

File download and public access : how to restrict form ?

Hello,

I have read some posts about linking a file into email.

I discovered that my application should be public to allow people downloading things.

But how can I protect a form of being sent or even viewed while keeping my application public to access download file ?

What I need :
- Uploaded files should be downloadable from an email
- The form used to upload file should only be accessible from allowed-only users.

How to mix public access required by download with user restriction in my app ?


Thank you,
Best regards,
Alex