There are two ways to do this.
1. If the user does not have access to the tables pane or the DB window, you simply don't put that function on the switchboard or other controlling layer.
2. If the user potentially has access to the DB window, you MUST secure the database. While many methods exist, the best method overall is to use workgroup security. You can search this forum for the topics of Workgroups and Workgroup Security and Securing a Database.
Third party tools and some clever home-grown tools have been posted from time to time on this and other forums, but the bottom line is this: Access Workgroup Security is DESIGNED to provide this kind of protection and is already built in to Access. It is the tool that Microsoft will suggest that you use. (Which is not necessarily grounds for wildly jubilant praise...)
There is a school of thought that says, "Use the tool designed for the job." Since I am of that school, I suggest you look into workgroup security. Access Help should also have some nice articles on the topic.