If you want only surtain users to be able to delete information,
you will have to identify those users in some way.
I suppose the infamous "sessions" could be used for this.
The basic idea is to give the "authorized" users a serialnumber, either in a cookie or in the html code.
Then you can keep track of which serialnumbers are allowed to delete,
and which information they are allowed to delete.
If someone hacks into your system using an old or fake serialnumber, you can
identify it as such.