Solved

protect a file from opening

Posted on 2012-03-24
10
307 Views
Last Modified: 2012-08-13
I've the following situation:

There are one or more files ascii plain/text in a folder and I need that no one can open and view the contents or copy the file except that it can be loaded by a single application of a third party supplier that I can not change. Is this possible?
0
Comment
Question by:leorocha
[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
10 Comments
 
LVL 15

Accepted Solution

by:
dave4dl earned 500 total points
ID: 37761260
yes, you must set up the application to be run by a specific user and then give only that user "read" rights on that file
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 37761294
This tutorial should tell you all you need to know about how to Take Ownership and change the Permissions of files and folders:

http://www.7tutorials.com/take-ownership-and-change-permissions-files-and-folders
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 37761351
leorocha--A fairly lame approach would be to hide the folder in an unlikely spot and then change its name.  You could also change the names of the files.  This would not prevent others from opening the folder or the files, but they would have to search pretty hard to find the folder.  The folder also would not be readily apparent and therefore attract curiosity  and attempts to open.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37761430
rename the extension of file to .exe, that will make users to get confused and even if any one tries to open it up, a pop will open up, how do you want to open the file etc., etc.,
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 37761746
security via obscurity is not a good approach. Using NTFS file permissions as noted above is the best approach.
0
 
LVL 14

Expert Comment

by:shahzoor
ID: 37761878
i will go with wasimibm
Add all files to a folder
Use Winrar to compress the folder and set password to the rar file
then change the extension of rar to something else or remove the extension
files will be secure :)
0
 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37762305
Well :) .. I am glad that i could be of help.. also please remember to close this question...!!!!
0
 

Author Comment

by:leorocha
ID: 37781727
None of the above is usefull for this situation. I expected an answer such as "inhibit the execution of NOTEPAD.EXE or any other application that can display the contents of a file, copy, rename or delete it. Or set XP to run your application only and disable all the keys or commands that provide access to the DOS screen.

In short, I need to run windows start my application only and disable all the buttons, keys and commands that enable start or close other software that is being used, access the DOS screen, windows explorer, notepad, etc.. Appreciate the assistance of someone who has had experience in similar situations.
0
 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37783127
then what is the need of this file, store in a secure location where no one can access...!!!

or create a different user on the same machine and place the file in his home folder.. so that only the user or an administrator can have the access to such a file...
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 37784285
In short, I need to run windows start my application only and disable all the buttons, keys and commands that enable start or close other software that is being used, access the DOS screen, windows explorer, notepad, etc.. Appreciate the assistance of someone who has had experience in similar situations.

Why didn't you say so in the first place.  In other words, you want this computer to run in a kiosk mode in which only 1 program can run

Which is entirely different from preventing other applications opening a data file.

through local policy or group policy lock down the machine and in the registry change the shell from explorer.exe to your application.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

636 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