Jump to content

Embedded Security In Html Pages


bigjoe11a

Recommended Posts

In a page I have, I have 2 links. each link relates to add or just view. Link 1) is where a user adds an entry. and link 2 is where you can view the entry. look at the code blow:

<a href="{SITE_ROOT}blog/addentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">Add Entry</a><a href="{SITE_ROOT}blog/viewentry.php?bid={BID}" style="margin-left:100px;text-decoration:none">View Entries</a>

The 1st link. I don't just want any one adding a new entry to this persons blog. I only want the user who made the blog to be a allowed to add to his/her blog. So how can I hide the 1st link from every one other then the user who created the blog.

Link to comment
Share on other sites

it would depend on how you're implementing the blog. It would have to be done with a server side language, since HTML doesn't "do anything" on its own.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...