Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Website correctly working on Windows Server 2008 R2 with IIS 7.5. The website is available just for users connected to the company's internal network and it cannot be accessed from the Web.

The company has also other Web servers that have websites that are accessible from the Web.

I need the website to access some Web resource (such as a Twitter account), in order to use the data. How can I give this permission in IIS 7.5?

In a more general context, is it possible, for the same website, to set different reachability permissions for each application, without using authentication mechanism?

Thanks

IMPORTANT: It does not have anything to do with authentication, the website is just unreachable from outside the company's domain.

share|improve this question
add comment

1 Answer 1

If I understand correctly, this isn't IIS related. When you are logging into your IIS 7.5 server, can you ping an external resource (like google.com)? If not, you may need your network administrator to setup a NAT policy to allow your internal server to gain internet access.

share|improve this answer
    
Forsyth: thanks, but I can both ping and use Internet Explorer –  CiccioMiami Jul 20 '11 at 14:22
    
Hi Francesco. In that case, I don't understand the question well enough. Are you wondering how you can restrict sites on this server to have access to just some content on the web? In other words, you trust some site owners, and don't trust other site owners. If that's the case, check out Code Access Security (CAS) for ASP.NET. You can disable Classic ASP and PHP and reply on CAS to limit access to just certain sites. –  Scott Forsyth - MVP Jul 20 '11 at 14:32
    
Forsyth: thanks. The question maybe sounds more complex than it is. In my application, under a IIS7 website, I want to show the Twitter feeds from a Twitter account. Given the fact that the application can just be accessed by users within the company's network of course the Twitter feeds are not displayed. I want just to enable the application to get feeds from Twitter, RSS, etc... –  CiccioMiami Jul 20 '11 at 15:05
    
If it's just displaying the twitter feed and your web server has internet access, then it should just work. It shouldn't need public access to do that. So, I'm not sure what is in play that prevents the twitter feed from showing on your website hosted internally. You may need to break this down into smaller parts to fully understand what is being blocked. –  Scott Forsyth - MVP Jul 20 '11 at 15:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.