I would like to open the website in the user's default web browser, however, since the URL is user-defined, I would also like to prevent them from doing anything other than opening the website.
I saw people using Process.Start(url); to open the site in the default browser, but since the URL is user-defined, I want to make sure that they do not enter something like the location of the script and do not execute it.
I also do not want to use Process.Start("iexplore", url); , since I would rather open the link in the user's default browser.
Is there a way to open a website in my default browser without letting them run any other process or command?
EDIT
For example, I don’t want users to be able to type C:\Windows\Notepad.exe in the Client Website field and open Notepad when they click the Website link
EDIT No. 2
I am not looking for a way to filter user access on the Internet or replace it with security. I'm just looking for a way to prevent users from running any other application by entering a bad url. If they enter “google” for the Customer website, it should not open the Open With file dialog, but instead will launch a default user web browser with the word “google” in the URL
Rachel
source share