I am building a website where, as the author, I want to be able to login online and post new article. I want other users to login as well so they can comment on my posts. However, I don't want to have a "Site Admin" link on my website and I don't want to access it either through url, say "www.example.com/admin". I don't want the public users to see a link or to access the admin url.
So I am thinking of adding the admin id as one of the users in my USERS table. I will have a IS_ADMIN column set to TRUE for that admin id. All other users will have FALSE. In that case, whenever I login as admin id, my page will check if IS_ADMIN is TRUE, then only I will have that "Site Admin" link. If other users login, they won't see the "Site Admin" link since their IS_ADMIN is FALSE.
Once I login as admin, i'll still have www.example.com/admin.php in my url. But other people may just type www.example.com/admin.php.
Is this the secure way of doing it? I really can't decide how to handle this. Please advice.