|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Browse for file - on the serverHi;
Is there a control where it can browse for a file on the server (not the client) and can do so using the permissions of the user on the client so it does not show shares/drives/directories/files that the user does not have rights to? I need it to return the fully qualified name of the file. I do not need the file uploaded (it's already on the server). you want a user - anonymous in the majority of cases - browsing your server?
I can't see why that's a good idea. If they need specific files, put it in a directory and grant anonymous access. Outside of that, end-users have no business browsing an application server. -- Show quoteHide quoteRegards, Alvin Bruney [MVP ASP.NET] [Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ www.lulu.com/owc Forth-coming VSTO.NET - Wrox/Wiley 2006 ------------------------------------------------------- "David Thielen" <thielen@nospam.nospam> wrote in message news:8040FC91-DFA1-44DB-A974-5280175D2ADC@microsoft.com... > Hi; > > Is there a control where it can browse for a file on the server (not the > client) and can do so using the permissions of the user on the client so it > does not show shares/drives/directories/files that the user does not have > rights to? > > I need it to return the fully qualified name of the file. I do not need the > file uploaded (it's already on the server). > > -- > thanks - dave > david_at_windward_dot_net > http://www.windwardreports.com > It's a bit different than that, we have a non-anonymous user who is a domain
user and we would use their domain credentials for the browsing so they would only see directories and files they are authorized to see. And then, all they can do is select a file. They can't view it or edit it, just select it. Show quoteHide quote "Alvin Bruney - ASP.NET MVP" wrote: > you want a user - anonymous in the majority of cases - browsing your server? > I can't see why that's a good idea. If they need specific files, put it in a > directory and grant anonymous access. Outside of that, end-users have no > business browsing an application server. > > -- > Regards, > Alvin Bruney [MVP ASP.NET] > > [Shameless Author plug] > The Microsoft Office Web Components Black Book with .NET > Now Available @ www.lulu.com/owc > Forth-coming VSTO.NET - Wrox/Wiley 2006 > ------------------------------------------------------- > > > > "David Thielen" <thielen@nospam.nospam> wrote in message > news:8040FC91-DFA1-44DB-A974-5280175D2ADC@microsoft.com... > > Hi; > > > > Is there a control where it can browse for a file on the server (not the > > client) and can do so using the permissions of the user on the client so > it > > does not show shares/drives/directories/files that the user does not have > > rights to? > > > > I need it to return the fully qualified name of the file. I do not need > the > > file uploaded (it's already on the server). > > > > -- > > thanks - dave > > david_at_windward_dot_net > > http://www.windwardreports.com > > > > > If they are domain users, cannot you have them browse the folders using the
Windows Explorer and they can open the files by double clicking on them? (This is a network admin issue to give them browse access to certain folders) Show quoteHide quote "David Thielen" wrote: > It's a bit different than that, we have a non-anonymous user who is a domain > user and we would use their domain credentials for the browsing so they would > only see directories and files they are authorized to see. > > And then, all they can do is select a file. They can't view it or edit it, > just select it. > > -- > thanks - dave > david_at_windward_dot_net > http://www.windwardreports.com > > > > "Alvin Bruney - ASP.NET MVP" wrote: > > > you want a user - anonymous in the majority of cases - browsing your server? > > I can't see why that's a good idea. If they need specific files, put it in a > > directory and grant anonymous access. Outside of that, end-users have no > > business browsing an application server. > > > > -- > > Regards, > > Alvin Bruney [MVP ASP.NET] > > > > [Shameless Author plug] > > The Microsoft Office Web Components Black Book with .NET > > Now Available @ www.lulu.com/owc > > Forth-coming VSTO.NET - Wrox/Wiley 2006 > > ------------------------------------------------------- > > > > > > > > "David Thielen" <thielen@nospam.nospam> wrote in message > > news:8040FC91-DFA1-44DB-A974-5280175D2ADC@microsoft.com... > > > Hi; > > > > > > Is there a control where it can browse for a file on the server (not the > > > client) and can do so using the permissions of the user on the client so > > it > > > does not show shares/drives/directories/files that the user does not have > > > rights to? > > > > > > I need it to return the fully qualified name of the file. I do not need > > the > > > file uploaded (it's already on the server). > > > > > > -- > > > thanks - dave > > > david_at_windward_dot_net > > > http://www.windwardreports.com > > > > > > > > >
GridView TemplateColumn
Retrieving Values from Hidden Fileds Inside Web Controls on PostBa Accessible GridView ASP.NET datagrid Intercepting the DataGrid Panel Controls PREVENT an ASP.Net page from posting back when the ENTER key press System.Web.UI.WebControls.Image control not refreshing Postback and return view Reaching elements within <asp:formview> control |
|||||||||||||||||||||||