473,791 Members | 3,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Password protecting a folder.

Hi all.

I have an app that needs to create a folder off the installation folder,
this is not a problem. But, I need to password protect this folder so only
the application can get access to the data stored there.

Of course a user can add a password to a foler, but how can I do this from
within my code, then how would I open a file within this password protected
folder?

Is this possible?

Cheers,
Tull.
Mar 18 '06 #1
1 1633
Tull Clancey wrote:
Hi all.

I have an app that needs to create a folder off the installation folder,
this is not a problem. But, I need to password protect this folder so only
the application can get access to the data stored there.

Of course a user can add a password to a foler, but how can I do this from
within my code, then how would I open a file within this password protected
folder?

Is this possible?

Cheers,
Tull.


Locking the user out of a directory on his own computer is not a cool
thing. You should find some other way to protect your data, such as
encrypting the file.

Chris
Mar 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2617
by: Jegenye 2001 Bt | last post by:
Could someone please suggest a very lightweight solution for protecting directories on a web server? (membership system) The job is basically this: An administrator, after logging in via the web, should have the ability to add/remove users who then could access their own password protected directories only with their browsers. I know this could be easily done with Zope (I know that) and probably with
3
1607
by: netsurfer | last post by:
hi..I'm working on a project that requires files to be password protected on a UNIX based site. The people that own the web site want to be able to change the password every so often. Unfortunately, I have restricted access only to FTP so I really can't log in to any kind of Administrative Console or Admin Panel and see if there are folders that can be password protected and then have passwords changed on them. The people I'm contracted...
1
5162
by: Sigurd Bruteig | last post by:
Hi! I have a passwordprotected backend. I just realised that you can download a cracking application that can crack a password with up to 18 signs. I have tryed it and it works. My question is: is there any other software capable to crack password with more than 18 signs, and how long can a password be in Access. Sigurd
4
2577
by: sunniyeow | last post by:
Hi, My question is regarding password protecting 2 different folders inside a single virtual directory using forms authentication method. Easier if I illustrate things out... - <authentication mode="Forms"> - Virtual Directory aka Top Level Root = /mysite - Inside /mysite I have 2 sub-folders which I want to password protect = /adminonly and /memberonly - /adminonly is assigned to a single Admin user with a hard-coded pair of username...
5
2801
by: nick | last post by:
I need to create a simple asp.net application that use password protect some html pages. The html page provider doesn't know asp.net. And the host doesn't allow me to create user accounts. What's the best way to store users/password except database tables? and to store html files?
3
3769
by: Miro | last post by:
Why Password protect an MDB when someone can google and get a hack? Wondering if anyone else has thought of this and just said "oh well"... I plan to password protect an MDB where I have some system/program variables and data. But looking in google, there are plenty of programs a user can download to hack and crack that password.
5
3646
by: alekatz | last post by:
Hi, I developed an aplication for an autoservice Kiosk, witch will be rented to customers. I want to lock a folder where sensitive files will reside, something like a password. Encryption will not work because the files are many and are big (25Mb aprox every file). Any suggestion will be really apreciated, Greetings, Alejandro Katz
4
2247
by: prophet | last post by:
so hopefully only one more question about this..... so I have a webpage using frames. I have a header and a column down the left, and the main body (all of which have different htmls but are brought together under index.html. From the header frame I have a list of different options which when clicked change the body of the page, leaving the header page the same. I have added a page which uses a 'gatekeeper' to loosely password protect...
12
11095
by: =?Utf-8?B?am9uaWdy?= | last post by:
I wrote a simple VB.NET application that imports and edits CSV files. Now I’d like to “lock” the raw (pre-import) CSV files so these cannot be opened separately. It is not high-sensitive data, I just don’t want folks to peek in the files. So time-consuming encryption is not necessary, just a simple password-to-open that I can program in my application so it internally opens the imported CSV file would be perfect, but I can’t...
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5435
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.