Are there any ways to secure stored procedure consistency at the software level, so as to be sure that they're going to do what they're expected to do?
I'm reluctant to use sprocs because reading and modifying them is so easy as long as you have administrative access to the computer and a copy of Management Studio Express. This is a common environment in a lot of installations where the clients own the server, and previous experience has taught me that clients (or competition) can't be trusted to keep their grubby hands off the database.
If a stored procedure can be modified to do anything, unless the software does constant checking, it could be silently made to do things that it shouldn't, and it would be none the wiser. This makes me feel really uncomfortable - to know I'm not in control over what the software does.
Is this a valid concern?