IntelliJ open source
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of Flex 4 in Action this week in the Flex forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Java in General
 
RSS feed
 
New topic
Author

How to password protected Folder through Java

Anurag Pathak
Greenhorn

Joined: Jun 08, 2009
Messages: 16

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

Joined: Jan 08, 2005
Messages: 10

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

Marc Marechal
MCSE, CCNP, SCJP 5.0, SCBCD 5.0 (Beta), SCJD 6.0
Anurag Pathak
Greenhorn

Joined: Jun 08, 2009
Messages: 16

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
 
jQuery in Action
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Java in General
 
RSS feed
 
New topic
hibernate profiler