Solved

Write To A File in System Folder.

Posted on 2001-06-08
3
181 Views
Last Modified: 2010-04-11
I have developed an application which writes data to a text file in the system folder.
However, if the logged on user does not have administrator rights, the application is not able to write to the text file.
I want to know how my application can write to that text file or how I can give "Everyone" the rights to access my file.
0
Comment
Question by:anupjishnu
  • 2
3 Comments
 
LVL 24

Expert Comment

by:SunBow
ID: 6169679
How about: don't?
First, place file elsewhere. Consider public area.
You can always copy or merge them to a more secreted area later.
Another consideration - think transactions. If short message or text file. Perhaps manage with a batch file or three.
The 'AT' command can schedule a batch file to run, that can copy your logs. Or text files created by general users. It runs at higher privelege with no one logged on.

If user is making a big text file that has content known to user, in common language (not computer-eze), and user wants to share, well,,, put up a share to help them do that.
0
 
LVL 24

Expert Comment

by:SunBow
ID: 6169694
Divide & Conquer: Split application in two - one) for user to generate shared text, two) for application to move to secured area and massage it as needed
0
 
LVL 12

Accepted Solution

by:
Housenet earned 50 total points
ID: 6179616
-Change permissions on the system folder to everyone full control & do not replace permissions on sub-folders.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ensuring effective and secure communication in the age of healthcare BYOD.
Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question