Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th March 2005, 03:48 PM
satimis Offline
Registered User
 
Join Date: Jul 2004
Posts: 1,386
How to lock a file

Hi folks,

How to lock a file of following format

1) .txt or .doc
2) .html or .htm

so that it can be read only. Copying its content with copy/paste command is not allowed, nor duplicating it. Kindy advise.

TIA

B.R.
satimis
Reply With Quote
  #2  
Old 9th March 2005, 04:11 PM
Quella's Avatar
Quella Offline
Registered User
 
Join Date: May 2004
Location: Boston, MA (USA)
Posts: 474
The only way I can see this working would be with a tool like Acrobat Reader, or some for of file encryption. If the text can be displayed on the screen, it is very dificult to prevent someone from scraping it or snaping an image of the files contents.

Just my 2 cents
__________________
"The eyes of the LORD are in every place, Watching the evil and the good." Proverbs 15:3
Reply With Quote
  #3  
Old 9th March 2005, 11:46 PM
satimis Offline
Registered User
 
Join Date: Jul 2004
Posts: 1,386
Hi Quella,

Tks for your advice.

Quote:
The only way I can see this working would be with a tool like Acrobat Reader,.....
You can select the contedt in .pdf file.

I came across such files on web. I was not allowed to high-light their contents and paste the same to another file. I'm interested to learn how to do it.

However I can print such a file as a .pdf file. So if we can stop this last job then the file shall become read only. To touch it is impossible.

satimis
Reply With Quote
  #4  
Old 10th March 2005, 11:49 AM
Quella's Avatar
Quella Offline
Registered User
 
Join Date: May 2004
Location: Boston, MA (USA)
Posts: 474
There are ways of protecting a PDF (not the best security in the world mind you) so that people can't select, print, etc the document. These are user settable, but noting really prevents one from taking a screen shot (capture) and printing it out. If the content can be displayed, it can be gotten some how, it just depends on the amount of time and trouble people desire to spend on it.

Quella
__________________
"The eyes of the LORD are in every place, Watching the evil and the good." Proverbs 15:3
Reply With Quote
  #5  
Old 11th March 2005, 06:41 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
You can password protect a Word doc (I think) but this doesn't allow the kind of read only access you want.

Quote:
Originally Posted by Quella
it can be gotten some how, it just depends on the amount of time and trouble people desire to spend on it.

Quella
This is true of any lock.
Reply With Quote
  #6  
Old 11th March 2005, 08:25 AM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
It's really pointless, if you can display a doc, then you can screen-grab it or print it.

(google "xwd" to see what I mean).

If you are that concerned about the contents of a file, then perhaps you are just better off "read" protecting the document.

If you are talking about embedding that feature in a browswer, then yes, there are some features that prevent you from dowloading/linking to the href, but once displayed, I don't there there is any means available to prevent a "screen-dump" or "screen print" from capturing the contents of the document.
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
Reply

Tags
file, lock

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating lock file in /var/lock/subsys gold Using Fedora 1 19th December 2007 04:15 PM
Stubborn /tmp/.X0-lock file PabloTwo Using Fedora 10 13th April 2007 04:09 PM
XP via Samba locks the file, Lin usr brakes the lock with opening file and file =RW ! marisdembovskis Servers & Networking 2 4th July 2006 09:14 AM
why are there so many .lock file? sclarkca Using Fedora 4 18th June 2005 05:02 PM


Current GMT-time: 23:18 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat