This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Lock a folder in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Lock a folder in Java" Watch "Lock a folder in Java" New topic

Lock a folder in Java


Joined: Aug 23, 2008
Posts: 3
I want to lock a folder in java, so that the folder won't be
accessible to anyone through the operating system?
How to achieve this function in java?
Any API (class or method) for the same?
harshvardhan ojha
Ranch Hand

Joined: Jul 26, 2007
Posts: 157

take a look at file lock
I agree. Here's the link:
subject: Lock a folder in Java
Similar Threads
locking text fields in java
To build a java repository for binary files or not?
folder lock in java
Lock folder
Lock file