So what can be done to prevent access to tables design view and query design view?I told you earlier - rename the file to yourdatabase.accdr. The .accdr extension tells Access to pretend to be the runtime engine and the runtime engine won't open anything in design view. But, as I said, this is no protection against mischief but it will keep out ordinary users.
Actually, you cannot change anything in Form design since you cannot open a Form (or Report) in design view in an ACCDE.