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.

Im trying to serve static content through a subdomain. The physical folder is shared on a second machine in the same local domain.

How do I safely setup permissions on the shared folder so that when i do something like:

src="subdomain.domain.com/Image1.png" I wont get access denied?

IN IIS I have subdomain.domain.com as a separate website.

EDIT: AWOULD THERE BE ANY PERFORMANCE DIFFERENCE IF INSTEAD OF CREATING A NEW WEBSITE FOR THE SUBDOMAIN, I ADDED A VIRTUAL DIRECTORY IN ORIGINAL SITE TO ACCESS THE REMOTE CONTENT?

share|improve this question

1 Answer 1

Permissions will depend on who is accessing this site, will it be only local users or remote(outside) clients.

If everything was on that local machine than the Anonymous Account would just get Read & Execute permissions, but i think on the share you must add the Everyone group with Read & Execute permissions

I personally don't like this idea of over network, performance & reliability wise.

I don't understand your last edit, but I would run the sub-domain on a different application pool, goodluck

share|improve this answer

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.