is an item with a button named delete ,you press the button it links to a URL where you delete that item or product, whatsoever. if for that purpose, instead of a "form submission", I use an <a> tag that links to my desired URL on the server for handling the deletion, is it true that when google is indexing my webpage, all the documents or records on my database get deleted?
I have several questions xD
Do you have authentication? Or is anyone with the link able to delete something?
Generally Yes, an admin role is required so the user must be logged in and be authorized to do that
It however seems more appropriate to provide a confirm modal once it is pressed for handling accidental clicks
That sounds like a great idea , yeah definitely
Обсуждают сегодня