Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2006

Tip: Looking for answers? Try searching our database.

Filedialog Control's restrictions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sameer - 09 Nov 2006 22:04 GMT
Hi,
application details :
vb.net with winforms 1.1, VS 2003

I am using a FileDialog1 controls in my vb.net application, works like at
charm but there are two things that i want to do that it almost seems i can
not

1. this application is gong to run over Terminal services( remote desktop)
and i dont want to user to access a certain drive of the server, lets say the
C:\ drive, is there any way i can program this control so that it can not see
the C drive, if i am asking for a lot then when the user clicks on the C
drive then i want the filedialog contorl to not take him in it.

2. The file dialog gives several rename\ delete\  create new options when
the user right clicks in it while viewing the file system and with this user
can do what ever he wants to the filesystem, i dont want the user to see
these options, how can i do that?

please suggest, do i have to use some other controls, make my own or is it
all possible , please suggest.

thanks in advance, waiting for an answer
sameer
Ciaran O''Donnell - 10 Nov 2006 09:21 GMT
I dont think you can do things like that without hooking into WinApi events.
It would be more secure to set the users permissions so they could do bad
things on the server. That would stop them opening Windows Explorer and doing
it.

Ciaran O'Donnell

> Hi,
> application details :
[quoted text clipped - 20 lines]
> thanks in advance, waiting for an answer
> sameer

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.