Preventing file operations is the job and purvue of the operating system. Java will not be able to help you accomplish this, as its design is to be operating system agnostic. Appeal to your system adminstrator for appropriate user controls for things like that.