Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Network:
Windows 2003 Server
>The folder apparently has no restrictions. If it did, the user wouldn't be able to use Windows Explorer to delete files. Word has a 'Mark as Final' option that should restrict document access to read-only but that can't be considered a security feature. There are dozens of ways to get around that.
So you mean the files were completely unprotected. Clear.
>
>I realize that Word can't save changes to a read only document but read only can't be considered a security feature. In the case of the 'boilerplate' documents (the ones that were deleted) the user never has interactive access to the document from within the VFP application so editing and saving are not options. But, users can still access the documents outside the application via Word and I'd like to prevent that for all but administrators.
That is not a VFP problem, but a networking one. You could build the template documents into the exe, but then everytime an "administrator" changes them, you'd have to build a new exe. I would just put the templates on a network shared folder with most rights removed.
>
>In the case of the 2 custom documents, users do get interactive access to a copy of the original and may save the copy. I'd like to restrict saving to the user's personal directory but a prior discussion here on UT has indicated that's not possible.
You could copy a template to a user-specific folder and have the app open it for whatever processing it does. Then the user would have to go to more trouble to move that file elsewhere. Most wouldn't be bothered to do that.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement