Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m using a simple web filer ,which i got from this website only .(if u want search simple webfiler in this website.)
In web.config file of filer.aspx,there is app settings.
HTML
<appsettings>
		<add key="WFRoot" value="../" /></appsettings>

Now i have made manager_registeration.aspx,where i register manager and userid nd pwd goes to sql database.then from login page manager enters and creates users.(users details also gets in same db table of manager)
NOw when manager logins then he clicks to "view files" option which navigates him to filer.aspx where he can view all the files of the server.i want that he should view only his file and the files of users which are under this current manager(when he enters filer.aspx),not the files of other managers .so that when a user uploads data same data manager can view suddenly and download it.

so the heirarchy of folders are
other server folders
{
AllData(folder)
{
manager1(folder)-user1(folder)-receive-data(folder)
-send_data(folder)
-user2-(folder)-receive-data(folder)
-send_data(folder)
manager2(folder)-user1(folder)-receive-data(folder)
-send data(folder)
etc.managers.
}
}
when manager navigates to " filer.aspx" from his session page, by clicking "view files" he should see only his folder and folders of his users and not another managers folders.

now what i have done is in web.config of filer.aspx(which i got from this website only)

in value="AllDta"/ so when managers logins he see other managers folders also.which were also dynamically created. how can i put in value="folder name of manager which are dynamically created while registeration of manager " or any other solution for this problem ,if not this.
i just want manager can not view other managers folder in filer.aspx
Posted
Updated 29-Nov-11 2:12am
v3
Comments
Mehdi Gholam 29-Nov-11 7:33am    
It is very hard to understand what you said please edit your question.
Addy Tas 29-Nov-11 18:10pm    
I think I do understand what you want; all that you want is that the root of the result of "view files" is the managers own root, not the All data folder.
As i know little of ASP, I hope that my small clarification may help someone else help you.
gaurav786mishra 30-Nov-11 6:52am    
exactly this is what i want thank you.can someone help???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900