?
Solved

Write To A File in System Folder.

Posted on 2001-06-08
3
Medium Priority
?
188 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 100 total points
ID: 6179616
-Change permissions on the system folder to everyone full control & do not replace permissions on sub-folders.
0

Featured Post

WatchGuard's M Series Appliances - Miecom Approved

WatchGuard's newest M series appliances were put to the test by Miercom.  We had great results and outperformed all of our competitors in both stateless and stateful traffic throghput scenarios! Ready to see how your UTM appliance stacked up? Download the Miercom Report!

Question has a verified solution.

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

In this blog we highlight approaches to managed security as a service.  We also look into ConnectWise’s value in aiding MSPs’ security management and indicate why critical alerting is a necessary integration.
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

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