You are viewing limited content. For full access, please sign in.

Question

Question

Hide Entry ID in URL

asked on November 9, 2023

We have a public site that is linking directly to documents via a WebLink search. 

  • https://domain/WebLink/Search.aspx?searchcommand=Search Criteria

This works great except that when it opens the search result document, the URL is updated to include the document's entry ID.

  • https://domain/WebLink/DocView.aspx?id=123456&dbid=0...

While all of the documents are public, we do not want people to just try changing the id value until they hit on another document.  The only way I can think of to get around this is to have the document open in a document viewer embedded in a different application (e.g. i-frame of a webpage).  Is there a way to have WebLink show a specific document without having the plain text corresponding entry ID in the URL?  

0 0

Replies

replied on November 9, 2023 Show version history

Hi Beau,

The id=$entryID URL parameter is fundamental to how the DocView.aspx page works. It's not possible to obfuscate without building some kind of custom translation/proxy layer. I vaguely recall hearing about one years ago that used a hash of the entry ID or something to to that effect and don't know any of the implementation details.

IFraming WebLink so the URL doesn't show in the browser address bar is by far the easiest way to "hide" the Entry ID. Given you're already linking to WebLink from another site, that approach likely makes the most design sense too.

1 0
replied on November 10, 2023

Thanks, that's what I figured but was hoping someone else had figured something out.  I appreciate you confirming.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.