OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Using OO as viewer only

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
serries
General User
General User


Joined: 04 Feb 2006
Posts: 6

PostPosted: Sat Feb 04, 2006 5:45 am    Post subject: Using OO as viewer only Reply with quote

We are looking for a way to use OpenOffice.org 2.0.x as a viewer-only applicaton. The users should not be able to modify any document or to create new documents.

Background: We need an application (under linux) to only(!) display documents in mostly MS-Office-format. Currently we use the MS-Office-Viewer. Because of stability issues we want to switch to a native linux application.

Do you have any idea, if there is an "easy" solution to restrict OpenOffice to display/view only mode? If there is no such switch, we would be interested in implementing one. Is there anybody who can help?

Thanks in advance.
Thomas
Back to top
View user's profile Send private message
9point9
Moderator
Moderator


Joined: 31 Aug 2004
Posts: 3875
Location: UK

PostPosted: Sat Feb 04, 2006 10:46 am    Post subject: Reply with quote

If a file is read-only then it will be opened for viewing only. Is there any way you could restrict the properties of the files to being read-only?
_________________
Arch Linux
OOo 3.2.0

OOoSVN, change control for OOo documents:
http://sourceforge.net/projects/ooosvn/
Back to top
View user's profile Send private message Visit poster's website
serries
General User
General User


Joined: 04 Feb 2006
Posts: 6

PostPosted: Sun Feb 05, 2006 9:10 am    Post subject: Reply with quote

I fear that there is no way for us to ensure that the relevant files are read-only.

We need a way to disable or enable editing by *central configuration*. The user should not be able to overwrite this setting. If editing is disabled there should be no way for the user to run OpenOffice in edit mode.

This feature is so important for us, that we would like to implement it (if not already present). Is there anybody who can give us advice for this.

Thanks alot.
Thomas
Back to top
View user's profile Send private message
noranthon
Super User
Super User


Joined: 07 Jul 2005
Posts: 3318

PostPosted: Sun Feb 05, 2006 5:22 pm    Post subject: Reply with quote

You can prevent writing by removing writing permission. The command will be along the lines "chmod a-w -R [full path of folder]" The command can extend to a folder and all subfolders and files recursively using the -R [note case] switch. a means all, - means take away, w means write. If all relevant files are imported to / placed in the relevant folder, users should be unable to alter them.

At the same time, the folder and contents need to be available to all for reading. The command for that would be "chmod a+r -R [full path to folder]".

If you want to preserve existing permissions for the owner of the files and the owner's group, use o (=others) instead of a in the first command.

Help:
Code:
man chmod
Back to top
View user's profile Send private message
serries
General User
General User


Joined: 04 Feb 2006
Posts: 6

PostPosted: Sun Feb 05, 2006 10:30 pm    Post subject: Reply with quote

Removing the write flag on the files is (sadly) no solution for our problem: The users might i.e. download a file, so we can't enumerate the numer of files that would have to be read-only! On the contrary, the users are able to set the write flag on their own.

An OpenOffice version restricted to viewing is not to prevent the useres from changing any files but to protect our user support unit from an unmanageble number of support request. OpenOffice would be only one application within a closed system. Working with office documents is no (primary) functional requirement within this system; but viewing office documents is essential to be able to read mails and attachments from our customers.
Back to top
View user's profile Send private message
noranthon
Super User
Super User


Joined: 07 Jul 2005
Posts: 3318

PostPosted: Sun Feb 05, 2006 11:33 pm    Post subject: Reply with quote

This is beyond me but I have seen threads on the Macros and API forum which mention running OO from other applications. That might be your answer. Users would not have direct access to OO but would, for example, be able to open OO documents with some other application (such as a browser) using OO as a slave. If you can frame a proposal along such lines, help may be available on that forum.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group