Hiding the hard disk

how do i hide the hard disks of the pc to prevent user's from accesing them using vb.2005

Answer this question

Hiding the hard disk

  • Jonathan Cran

    Hi,

    I reckon you would have to turn off the START MENU or / and HIDE the "MY COMPUTER" icon.

    Not sure how you would do it though.

    Trouble is other programs could still open a FileDialog box.

    Another thing is you could uncheck "Show Desktop Icons" in the same way as you

    would if you right-clicked on the desktop for that menu item. Again in code i wouldn't know how, sorry.

    Regards,

    S_DS



  • Ccm1st

    you cant really do this in .NET im afraid, its a Windows thing. do you mean not showing it within your application via say a folderbrowserdialog/openfiledialog/savefiledialog classes

  • wirwin

    You probably should elaborate on why you want to do this.

    For example, if your goal is to restrict user access to certain system resources for a point-of-sale or kiosk system then you should use Windows security policies to restrict the user, not your program code.



  • Hiding the hard disk