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

Question

Question

opening encoded weblink link from vb.net

asked on August 31, 2016

hi all,

 

i am trying to make a vb.net form that opens a document using a  specific field in a template.

i am using this code in vb when double clicking on datagrid :

Dim x As Integer
        x = DataGridView1.CurrentCell.RowIndex
        Dim str As String = "http://localhost/WebLink/search.aspx?dbid=3&searchcommand={[CustomerTemp]:[Custumer ID]=" + DataGridView1.Item(0, x).Value.ToString + "}"
        Process.Start(str)

 

 

but my objective is to open the document without letting the user , using the link to access another document...i am getting this link in weblink 

can i encod it in some way ?? or directly download the file not using the docID but using directly the search query ??

 

please advice,

 

thank you.

 

0 0

Replies

replied on August 31, 2016

WebLink is not designed to prevent users from seeing documents that they have been granted permission to.  See related discussions here and here.

1 0
replied on August 31, 2016

hi brian,

so if i want to prevent a user to access files other than the one specified in the link, there is no other way than the access right given to him ?

 

thank you

 

You are not allowed to follow up in this post.

Sign in to reply to this post.