How can I prevent Informix-SQL users from viewing SQL procedures and changing other things?

Roughly speaking, you can't. The stored procedure text is stored in the sysprocbody system catalog. If you're foolhardy, you can delete the text after creating the procedure (there is a 'linearized' version of the procedure stored in sysprocbody too), but it will never be reoptimized if you do that.

If you drop an index that the stored procedure was using, it will stop working. You normally have two or more users setup; one is the DBA (in SE - that is often informix), and then there is one (or better, many) other users that access the DB. Of course, this is DOS, so ownership is more tenuous as a concept, so maybe I'd better shut up about this.

However, if DOS and ISQL + SE 4.10 support user separation, then use it.

DOS version does support user separation, however there's no way to prepare (compile) an SQL proc, its stored as an ascii text file with a . Sql extension. – Frank Computer Jul 2 at 4:57.

Or better yet, remove isql. Exe, dbaccess & sqlcmd!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions