I am making a small file hosting website, and each user can upload multiple files, and will have access to just his files and can’t access others files, for example by guessing the URL.
Is there a way to secure files to have access by just the owner and no body else “may be website administrator also will have access”
Update if you can show me example, code sample or demo that will be great.
You need to store files in a directory not served by IIS, then make a script that takes a file ID, validates that the user has access, and returns the contents of the file.