I’m building a php website with lots of jquery / ajax. Basically the site is a simple blog and I display the last 10 database entries and their corresponding headlines on the front page. The user is then able to click a headline (where it’s rerouted to site.com/blog?cid=76) and then view the full blog entry.
basically, is there any database security risk with displaying the 76 which corresponds to the blog_id in the database? Should I be making things more secure and if so how would I go about doing that?
There is no security issue.
It is similar to telling us what id this post has:
stackoverflow.com/questions/11379226/hiding-table-ids-in-a-website
All it does is tell the user which post it is.