Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to write a small web application to do the following:

 

You want to browse a URL "http://www.google.com".

You enter this URL in a form. (In Form.aspx or whatever)

The form will do a basic encryption on the URL (like shift each character one way, like "H" becomes "I" etc.), then redirect to another page with a link like this: "http://www.mydomain.com/View.aspx?url=iuuq://xxx.hpphmf.dpn"

 

Now View.aspx will decrypt the given URL to "http://www.google.com", it will read the requested page using the following:

Dim myClient As WebClient = New WebClient()
Dim response As StreamReader = new StreamReader(myClient.OpenRead("http://www.google.com"))

 

So now I have the page contents in a stream reader. Now I want to go through the contents and encrypt all links (same encryption as above), then output the page to the viewer.

 

Now it gets harder: All links on the page being viewed should now point to "http://www.mydomain.com/View.aspx?url=xyxyxyx", where "xyxyxyx" is the encrypted link. If the link is to a binary file, like an image or something, how do I output that normally without going through the whole encryption/decryption process?

 

So View.aspx should be able to output ANY webpages with all links encrypted, as well as normal binary files like images etc.

 

Any help would be appreciated!

Bypass your proxy and get anonymous internet surfing FREE!
Posted
Why exactly are you encrypting the page?

 

I am trying to bypass simple proxy filtering, which by my understanding is not illegal or anything (please let me know if I am wrong). I want to create this application as an addition to my current site, in order to attract visitors. I hosted a PHP OpenSource version for a while, but the bandwidth it used was way too much. (Up to 18Gb in a week!) I dont know PHP, so I thought I would create a .net version so that I could filter out certain sites - I dont want people surfing porn or anything through this. Also - i want users to register with me before they can use the app, so that i can limit bandwidth per user if need be...

Bypass your proxy and get anonymous internet surfing FREE!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...