• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to password protected Folder through Java

 
Anurag Pathak
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

This is Anurag Pathak.

I want a sample Java Code which will create password Protected folder.

so while accessing a folder it should ask password if valid folder should be visible else invisible.

Please help me in achieving this.

Regards

Looking forward for the reply.

Regards

Anurag Pathak

pathak_arg@yahoo.com
 
Marc Maréchal
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you clearly explains what your application should do ?

What I understand from your explanations is that through your Java application :
- some folders must be visible ;
- when the user try to access one of the these visible folders, the user will required to enter password information;
- If the password information is not correct, the folder becomes invisible.

Is a password required to access a folder EACH TIME a folder is accessed ?
Has each folder a different password ?
Where are the password information stored : in your application or associated with the folders and obtained through the OS ?

Is there something else worth mentionning ?


Marc Marechal
SCJP5, SCBCD5, SCJD6
 
Anurag Pathak
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is just One Folder on say C Drive I want to make it password protected Password will be taken from properties file thats it.

Please expand your suggesstions to make it achievble.

Thanks & Regards

Anurag Pathak

pathak_arg@yahoo.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic