asp.net - Access files/ folders remotely by authentication via browser/ web -


we have requirements want allow our clients/ users download files/ folders our file server via browser/ web.

we have many different directories created on our file server mapped different clients. means that, every client has own directory on our server. have main (root) directory every single client/user. means that, every client’s files/folder created under respective main directory.

the thing need sure is, whenever our client make request access/ download file, first need validate credential (username/password stored in our sql server db) , need allow folder mapped specific folder. (the folder mapping again stored in our sql server db)

which means that, after applying credential user/clients, can access directory/ files. cannot access other’s files/ directory.

would please let me know how achieve this? suggestions appreciated highly.

thanks in advance.

since different users need authorized access different directories, cannot expose files directly on web.

build simple login custome membershipproivder. allow autenticate against database.

since know directories user has access to, can fetch listing of files , folders , present in listview user.

you can write httphandler check user authorization , serve files them.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -