A
amit
hi,
I have a web application using forms based authentication. I want to
restrcit even the non asp.net files from forms authentication i.e I do not
want that my clients should be able to access the word files, ,xls, pdf etc
from outside project. Actually these files appear as links like :
http://hp-amit/testfolder/abc.doc
now if i copy this link and directly type this without loging on to the site
it would still access it. whereas if i try an access any other ASPX page, it
redirects to the login page.
One way of solving this is that I edit the IIS Mappings to support these
files but I want to use it programmatically thru code and not thru IIS.
If there is no other viable solution, Is there a script available which can
be executed to automate this task/
thanks in advance.
bye
amit purohit
I have a web application using forms based authentication. I want to
restrcit even the non asp.net files from forms authentication i.e I do not
want that my clients should be able to access the word files, ,xls, pdf etc
from outside project. Actually these files appear as links like :
http://hp-amit/testfolder/abc.doc
now if i copy this link and directly type this without loging on to the site
it would still access it. whereas if i try an access any other ASPX page, it
redirects to the login page.
One way of solving this is that I edit the IIS Mappings to support these
files but I want to use it programmatically thru code and not thru IIS.
If there is no other viable solution, Is there a script available which can
be executed to automate this task/
thanks in advance.
bye
amit purohit