This content has been marked as final.
Show 1 reply
-
1. Re: Making a writable connector read-only
vasilievip Feb 12, 2013 4:25 AM (in response to rhauch)1 of 1 people found this helpfulRandall Hauch wrote:
Is it useful/beneficial to be able to configure a writable connector as read-only? Why or why not?
Yes, to satisfy security concerns as you descibed above with filesystem example.
Randall Hauch wrote:
If so, should it be on a connector-by-connector basis, or should all writable connectors have an implicit "readonly" attribute?
My vote to have readonly flag and "false" by default for writable connectors, so I'll change it only if I need to prevent modifications (not vice versa). Making this attribute available to all writable (and only writable) connectors makes sense to me, something like that: Connector (only API to query) -> WritableConnector (API to write) -> FileSystemConnector.