HOW TO PREVENT INTERNET WEBPAGE WITH EMBEDDED USER CONTROL FROM ACCESSING BY ANYONE??
Posted on 2011-05-10
I have a UserControl driven application that should work when run as a desktop application or embedded inside a browser. The application is working fine in both ways. I also got the WinForms application that is hosting the above control to work as a ClickOnce deployment application.
Coming to the question:
(1) If I use the embedded approach, how can I prevent just a random user from accessing my application. What are the means and ways to protect my application from a passing by user on the Internet that comes across this website or URL by copying and pasting or typing the URL in the address bar will not work?
(2) If I use the ClickOnce deployment of WinForm application, once again how to secure the link to the ClickOnce deployment application in such a way that copying and pasting the URL in the address bar will not work??
Thank you very much