Hi
Is it possible that Hyperlink Parameters passed from navision are not visible in Browser
Thanks
Hi
Is it possible that Hyperlink Parameters passed from navision are not visible in Browser
Thanks
Hi Tony
In my case No is a string
Thanks
Hi Tony
Can u pls provide some example. I want to encrypt NO field which is string.
Thanks
Technically, yes. Encrypt your parameters and pass it like url?eparam=encrypted parameters. Now all you need to do is decrypt the eparam. If you want to encrypt the entire url, no you can't, imagine what a nightmare it would be if that's possible!
Hi
Can't we pass the parameters from Navision in encrypted form & Decrypt in C# Website .
I have a string field.
Thanks
You can't make it invisible, it would be a huge security issue if you can. On the other hand, if you have control over the site, then this is what I suggest you do, as a workaround to your concern about users changing or guessing a another link's value. Add another parameter that's a formulated value of an existing parameter, let's say No. is a numeric value and Code is the additional parameter. In NAV, formulate a value from the No. and expect the Code to be the equivalent. Here's simple formula: Code = No. * 100 / 5. Let's say No. is 5 so the Code should be 5 * 100 / 5 or 100. The parameter will then need to be ?No.=5&Code=100. If they change No. to a 6, then they'll need to have a valid Code, because 6 * 100 / 5 is not equal to 5. Your formula is hidden but needs to be the same in NAV as well as your website.
This is an url, you cannot avoid that. The url from NAV is opened exactly with your parameters. If then (ater the page is opened in the browser window) the users change the url, it's absolutely possible (exactly on every site you browse).
Hi Stefano
ok . How can we ensure that user should not be able to change parameter values in Url . Suppose No 10 is passed from Navision . On Web Page 10 is displayed in textbox.
User changes value to 11 in Url & then press enter so value in textbox changes to 11 which is wrong.
Thanks
Do you mean in the browser address bar? This is not possible. HYPERLINK opens an url in the default browser of your client machine, but the URL is displayed in the browser (exactly as every other address). You cannot control the browser's behaviour.
Hi Stefano
I want that parameters passed thru Hyperlink can be made invisible in browser so user should not be able to change values . Can we encrypt and decrypt the parameters
Thanks
I don't uderstand your problem, but in code you should programmatically compose a string with the right url and then call the HYPERLINK. Something like:
strURL := 'localhost/.../Test.aspx?param1=' +"No." + '¶m2=' + USERID;
HYPERLINK(strURL);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,570 Super User 2024 Season 2
Martin Dráb 228,683 Most Valuable Professional
nmaenpaa 101,148