Restricted access to sub-folder in iis6 doesn't work?


Posted on 16th Feb 2014 07:03 pm by admin

Basically I'm trying to add restriction to sub-folder (which contains pdf) in web.config for iis6 as below.
It doesn't work at all.


Did you know?Explore Trending and Topic pages for more stories like this.



























----------------------------------------------------------------------------

It works only if changed to



But there are two login area's one for admin and other for site.

--------------------------------------------------------------------------------

Tried also adding web.config in virtual directory for sub-folder library/pdf in iis6. Added .pdf extension to mappings with aspnet_isapi.dll











Any help plz very urgent.
No comments posted yet

Your Answer:

Login to answer
84 Like 47 Dislike
Previous forums Next forums
Other forums

check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it

error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

Which PHP-Editor do you think is the best?
Hi everyone,
Myself Brian Anderson. For the last 2 years i have been working a

how do i display data on a page from mysql
1 - do i use this code at the top of each of my page i wish to only alow access if there as been a s

quick question
Hi ..

i have a question
how do i set a var so it displays via an echo
Code: $logo = '&a

images aren't rendering
I'm trying to call a JPG file from within PHP (in an effort to hide the actual JPG folder). The imag

PHP - HTTP Digest Authentication - Understanding Code Help
Hi Everyone,

This is my first time on your website and please excuse if I am asking silly que

Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code:

Code: header("Cache-Cont

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash