CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

The difference between the internet and the intranet according to .net security

This weekend I watched another Software legends CD show. These mini CD's were handed out on the PDC and on a DotNed meeting. They all contain an interview and/or a presentation. Chris Sells's one starts with an interview by Don Box on pre-asmx services over the web. Followed by a full presentation by Chris on Winforms in the webbrowser. It is not a very recent one so no talk on ClickOnce and a great part of the presentation is on code access security in .NET. Quite interesting and brought very well. The title of this post is a highlight of this.

When downloading code the .NET platforms checks the source of the code. Like the local machine, the intranet and the internet. Every source has its own permission sets. The interesting point is how .net distinguishes the inter- from the intra- net. The only criterium is whethet there is a . in the domain-name. So this is the intranet http://localhost// and http://MyServer/. But http://127.0.0.1/ , which is a loopback to your local machine, is considered the internet to .net security. Because there is a dot in the domain.

 



Comments

sukumar said:

Explain it?
# August 21, 2004 3:44 AM

Peter van 0oijen said:

My only point is that .net security uses the format of the address, not the actual location.
# August 21, 2004 3:16 PM

terri said:

this didn't help me at all, it was a waste of time reading it!!!
# March 11, 2005 8:19 AM

terri said:

this didn't help me at all, it was a waste of time reading it!!!
# March 11, 2005 8:19 AM

Peter van Ooijen said:

Well then. Thank you for wasting even more off your time to report this twice. :)
# March 14, 2005 6:26 AM

Your mom said:

Well thank you very much for the wonderful help that this site provided me with. :-)
DUDE! im a student in a software applications class that needs to find this information out for real! THANKS!
# May 19, 2005 7:51 AM

Lindsay said:

yeh this helped out alot :P
# August 17, 2005 9:31 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!

Our Sponsors

This Blog

Syndication

News