Filedialog Control's restrictions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Back
Top