It works on windows, but you need an apache. But using the rewrite engine can cause problems on high traffic sites. It increases the load of the server and the overhead of every request.
There are some other ways to prevent the direct linking to images. For example using a php script that looks for a valid session before displaying the image.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.