5

We have a site that requires users to sign into. Typical stuff. Today, all the content (dynamic and static) is behind the login process, and you cannot access any of the pages or files via a URL unless you are logged in. This even applies for images, css, js, etc. This is a requirment, the content cannot be open to the world.

We have been thinking of moving the static content off to a separate server for performance and scalability reasons, but are unsure how to do this, and still have these files secure and not open to the world. Basically, the authentication would need to be passed to the separate server (or CDN) and verified before we could serve it up.

Perhaps this is not possible, and it is not a good case for separating static and dynamic content.

We are running a Microsoft Stack - ASP.NET, IIS 6, but could go IIS 7-7.5.

1
  • tags i could not use 'scalability', 'iis'
    – mohlsen
    Commented Jul 16, 2010 at 19:08

2 Answers 2

4

Some quick Googling gave me this: https://softlayer.github.io/reference/services/SoftLayer_Network_ContentDelivery_Authentication_Token/

Looks like, at least with SoftLayer, you can set a token on the user's machine that lets them authenticate with the CDN, thus allowing access to the content. I'm sure this ability varies based on CDN.

2

As someone suggested a CDN with a token system should allow you to generate tokens for users, but this will likely end up in reducing the performance to that of delivering your files from the same server or worse.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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