ASP.Net file share between users on website

I have ASP.Net website with several users e.g. A,B,C

and want to share files between user names

currently every user has their own folder for saving files but I want this changed so users can share files (on the server without having to save on network or email)

there's a Administrator
which can should see all files

but A,B,C only see files "shared" to them

how do I do this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You'll have to explain how the system currently works like how file lists are displayed for users etc ., for any meaningful help. Without that we are sort of shooting in the dark. Still ...

Would creating symbolic links on the harddisk (for a share operation) work? If it does it might be the most efficient way

Or you can use a database to store Files information. For example tables like

Files  -> FileId,Filename, OwnerId
FileShares  -> FileId,CanRead_UserId

This should allow you to query the DB and get a list of files a User is able to view.

Alternatively, A NoSQL document DB or even a KeyVal store like Redis can be utilized to implement basic sharing lists.

There are so many possibilities, you'll have to provide more information to refine options.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rwallacejAuthor Commented:
Currently users have a folder website  with their data which they can access
(Not directly , the code does this )
It lists files for all user 1 by looking at user 1 folder
Same for user 2
Users don't have direct link
It's in app_data folder looks at a user folder and makes a gridview with filenames
Users then click a button
And reads file todo whatever necessary
I suppose there is code to enumerate files from a user's folder and populate grid. You should try creating symbolic links to files (requires NTFS)

Make a link to a file in user A's folder inside user B's folder, see if that works as expected. If it suits your needs then the easiest path would be to implement sharing using links. When a user shares a file you'll create links in other users' folders.
Np response from OP. Covers most cases
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.