A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Can we password protect a File / folder / Windows Drive using java?
Joined: Jun 08, 2009
Apr 01, 2013 03:38:10
I have questions...
Can we password protect a file / folder / drive (Pen drive or c: / d: drive of windows) using
I can zip and password protect a file and folder, but its actually creating the copy of original data....
can we password protect file / folder without zipping them?
can we password protect pen drive or windows drive?
Awaiting your response...
SCJP5 93%. SCWCD 98%.
Visit my website
for information about rajasthan tourist places and much more.....!!!
Joined: Oct 13, 2005
Apr 01, 2013 05:38:28
Too difficult a question for “beginning”. Moving discussion. Let’s try general computing.
Ivan Jozsef Balazs
Joined: May 22, 2012
Apr 01, 2013 16:15:57
Do you want to use a service provided by the OS or roll out something own?
Joined: May 14, 2008
Apr 03, 2013 19:22:11
Why write something in Java to do this when there are many free tools available that already do this?
And yes, you can password protect a file in Java. Here is a simple example with strings but you can apply the same principles to an entire file:
JBoss In Action
I agree. Here's the link:
subject: Can we password protect a File / folder / Windows Drive using java?
Managing my music collection with java (NO GUI)
Map drive access through Java Application running as a service
Type of servers to be used for security purpose
listening to a port
Make a file of desired size using java ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013