Link to home
Start Free TrialLog in
Avatar of rwallacej
rwallacej

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of ambience
ambience
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rwallacej
rwallacej

ASKER

Currently users have a folder asp.net 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
Asp.net looks at a user folder and makes a gridview with filenames
Users then click a button
And asp.net 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)

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc753194(v=ws.11)

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