workspaces [message #463526] |
Tue, 13 February 2007 06:17  |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
Hello everybody!
Is there a possibility to create a workspace from my RCP-application,
"attached" to a certain directory on the disk, so that once my
application is run, the files in that directory are locked and could be
accessed only from within my application?
Sorry if it is a stupid question. :-[
Thanks very much in advance.
|
|
|
|
|
|
Re: workspaces [message #463543 is a reply to message #463542] |
Tue, 13 February 2007 08:18  |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sorry Chris.<br>
It is just that my e-mail client says that you are a <u><b>Krzysztof
Daniel</b></u>, as you can see below.<br>
Anyway, I do understand that the evil user can do those things, but at
least I can control it for some time.<br>
Thanks for the suggestions!<br>
<br>
<u><b>Krzysztof Daniel wrote:</b></u>
<blockquote cite="mideqsddt$qoh$2@utils.eclipse.org" type="cite">My
name is Chris ;P
<br>
<br>
Yes, thats true you can avoid conflicts, but the mechanism works
between plugins within the application.
<br>
<br>
The problem you are trying to solve is as old as the role of user ;).
And an evil user can modify files while application is not running and
you can't do anything about that (even checksums can be broken ;) ).
<br>
<br>
Anyway, I have a few thoughts:
<br>
1. you may be cruel to the user: try cache resources and write them
without taking care about manually made changes.
<br>
2. Like 1, but after reading you may set them as read-only.
<br>
<br>
Actually I do not see clean cross-platform solution for your issue.
<br>
<br>
Regards,
<br>
Chris
<br>
</blockquote>
<br>
</body>
</html>
|
|
|
Powered by
FUDForum. Page generated in 0.06856 seconds