How to block file or folder access using java?

Joined: 09/13/2009

I want to block access to a file or folder using java such that only the java program could access it.
Any other means such a double click on folder or file should show that access has been denied or somewhat appropriate message as desired.
I have tried the lock files in java but it doesn't prevent access by double click.
Help needed quickly.

G&G Moderator
G&G Podcast Host
NonProfit's picture
Joined: 06/06/2007
Sorry

Hi always_in,

I saw you were a little frustrated in another post that no one replied to this question. I'm sorry about that. Personally, I know noting about Java. Geeks & God is a great resource for ministry tech, but it's not the only place to ask for help. Perhaps a community of Java developers can offer more insight than we can.

Sorry! I'd help if I could,

-NP

Joined: 04/25/2010
Program for file locking

Hai this is valee. i need sample program for file locking process in java. any bady help me

Thanks