Listing all Windows disks

A special feature for the Windows operating system was added to BarracudaDrive in version 3.0 that allows the server to list all disks in windows as directories. The -r command line option is implicitly set to -rC:/, where C: is the disk the server is started from, unless the option is explicitly set at startup.

You can set the command line option to -r/. The -r/ command line option tells BarracudaDrive to list your Windows disks as directories.

Opening a browser window to http://localhost/drive/ will show you something like:

The list includes all disks, including your A: drive, your CDROM's, etc. You must configure the constraints to disallow access to all removable devices. The web-server will deadlock and wait for the user to click on "the no disk popup window" before the web-server resumes control.

The image below shows you what happens when we press the "Web Folder" button in Internet Explorer:

The popup will appear on the machine running the server and not on the machine running the web-browser. In the above example, we are running the web-server and web-browser on the same machine, which makes it possible for us to press the "Cancel" button to resume the web-server. You will not be able to press this button when connecting to the server from another computer, which means that your web-server will deadlock until you get to the computer and press the "cancel" button.

We get the following Web-Folder window after pressing the "Cancel" button several times:

We will get the same same popup window if we try to click on any of the removable drives. What we must do is prevent BarracudaDrive from listing the removable drives A:, D:, E:, and F:, as shown in the above image. We disable the disks by using the constraints Editor.

You should see something like the following after you have applied the new constraint.

In our case, the Z: drive is a network drive. You can remotely reach network drives via the computer running BarracudaDrive. This means that if you have a LAN with several computers, all computers can be made accessible remotely via the Internet by running BarracudaDrive on one of the computers on your LAN.