Mobile app version of vmapp.org
Login or Join
Ravi8258870

: How can I hide my domain name or ip from users I'm developing a windows application in C# along with an accompanying asp.net website. Both are hosted on a web server. I wish to disguise my

@Ravi8258870

Posted in: #AspNet #Webserver #Windows

I'm developing a windows application in C# along with an accompanying asp.net website. Both are hosted on a web server. I wish to disguise my server ip address and/or domain name so they are not exposed to the user at any point.

I designed a custom browser in C# (win app) then I just navigated user to my asp.net site. I haven't kept address bar and I disabled right click option in that browser. So the user just can view the page, cant find the server info.

But the issue that I'm facing now is, when the user tries to download anything from the site, Internet Explorer's download window opens up and asks where to save. But there in the screen it shows my server ip or domain address to the user.

So how can I hide that information from the user i.e. I don't want to show my server's information to my users but I want them to download or save from my site.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi8258870

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gloria169

Without knowing a bit more about your context it's a bit hard to provide a better solution, however rather than writing a custom web browser that allows users to browse your site, and download things why not do something along the lines of:

In your windows application, call a service on your website that gives you the relevant details of downloads available.

Display those details directly in your application, giving the user the option to download them as needed, you can use the standard windows Save File dialogs for this.

Then open an HttpWebRequest to your server from your application to download the file and save it to the users preferred location - you'll want to do this asynchronously so that you don't lock up the application's UI and you'll probably need to display a progress bar to the user as well.

However, if a user wants to they will still be able to find out the details of the server using an application such as Fiddler if they were that way inclined.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme