tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siva prakash I V <sivaprakash...@gmail.com>
Subject Re: Protecting static resources in IIS
Date Tue, 02 Nov 2010 14:44:10 GMT
Firstly, Thanks for the info.

I've done what you've said.

Consider my directory structure as below in IIS.

<IISROOT>/images/TestDir/A.gif
<IISROOT>/images/TestDir/index.html  (newly introduced one)

If  I hit the following url, it shows the index.html
https://<hostname>/images/TestDir/ <https://%3chostname%3e/images/TestDir/>

but if I hit the following url, it shows the image A.gif which needs to be
restricted its access.
 https://<hostname>/images/TestDir/A.gif<https://%3chostname%3e/images/TestDir/A.gif>

Please let me know if this can be resolved.


Thanks,
Siva Prakash


On Tue, Nov 2, 2010 at 7:49 PM, Rob Gregory <Rob.Gregory@ibsolutions.com>wrote:

> While this is not a forum nor is the mailing list about IIS a quick
> suggestion and one we implement is to place a blank (or custom)
> index.html file into every directory within the site. This will then be
> served up when requests for resources are received.
>
> Hope that helps
> Rob
>
> > -----Original Message-----
> > From: Siva prakash I V [mailto:sivaprakash.iv@gmail.com]
> > Sent: 02 November 2010 14:08
> > To: users@tomcat.apache.org
> > Subject: Protecting static resources in IIS
> >
> > Hi,
> >
> > Though I know that this forum is not for IIS related questions, It
> will be
> > great if someone can help me out with the following problem.
> >
> > I need to protect the end user's access (thru a url) to the static
> resources
> > like images directory in IIS but still allowing my app jsps in Tomcat
> ROOT.
> >
> >
> > Thanks,
> > Siva Prakash
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message