Subject Re: [firebird-support] Setting a Database read-only, without touching it ?
Author Ann W. Harrison
mulenker wrote:
> Hello ,
>
> Is there a chance to set a Database read-only, whithout touching it ?
>
> I tried it via IBPP::Service, there is a procedure "SetReadOnly",but
> if i take a md5 hash of the Database before and after i call this
> procedure, i get different hash values.
>

Every database has a header page which contains (among other things)
a flag saying that the database is read-only (or not). Firebird doesn't
have any place else to keep that information, so changing the state
changes the database.

In short, no.

Regards,

Ann