|
-
Jun 16th, 2010, 06:55 AM
#1
Thread Starter
Addicted Member
Is it Possible to Secure windows folders
Hi,
I am curious whether it is possible in VB 6 or not.
I want two apply some security on windows folder so that no one from windows can see its content, this folder is only accesible to to my vb code.
Requirement
1. Say i have a folder called BP
2. I have put the data base connection Conn.txt inside folder BP
3. Need to Lock Bp folder by my vb6 program code say program name is LockWinFolder
When I run program LockWinFolder it will ask input for folder like C:\test\BP then ask for Lock Code say 12345 {I have entered manually}
4. when I open folder from windows directory then I will get error.
but I can access the Database file Conn.txt through code LockWinFolder
-
Jun 16th, 2010, 07:00 AM
#2
Re: Is it Possible to Secure windows folders
No. Windows filesystem security is user-based, not based on some sort of external password.
You'll probably want to store that connection string in encrypted form, based on a password/passphrase hidden or obfuscated in the program or elsewhere.
-
Jun 16th, 2010, 08:04 AM
#3
Thread Starter
Addicted Member
Re: Is it Possible to Secure windows folders
thanks for that,
do not focus on my database file it is just an example, i have already encrypted the same.
According to you it is not possible to lock a folder using Vbprogram right..?
Is some one else have any thoughts for the same.
-
Jun 16th, 2010, 09:55 AM
#4
Re: Is it Possible to Secure windows folders
According to you it is not possible to lock a folder using Vbprogram right..?
Is some one else have any thoughts for the same.
Ummm... It is possible to create a folder locker in vb6... I haven't created one till date but I am sure there will be codes lying somewhere on the web if you know how to search for it... 
Edit
Here is one which I found in vbf. Though it is not that efficient because you can still open the folder by right clicking on it and clicking on explore but the concept is interesting...
http://www.vbforums.com/showthread.p...31#post2962631
I am sure if you google it out, you will find something...
The other alternative is to zip the folder and seta password to it...
Last edited by Siddharth Rout; Jun 16th, 2010 at 10:37 AM.
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|