TIP#1 : ASP.NET
Reply
![]() |
|
|
From:
Jignesh Desai
|
Tips.
Generally when using Forms authentication in ASP.NET
you are able to secure your .aspx pages but you have not secured Images or
documents like Ms-Word, Excel etc. A quick tip to secure these items is
that you can configure that these extensions should be served by asp.net
and not IIS.
- In your IIS , Right click on the Virtual Directory
and select Properties.
- On Configuration Ta, a dialog box appears
with the list of file extensions.
- Click Add and Enter the extension type in the
textbox such as .doc .ppt etc.
- Point your path to aspnet_isapi.dll found under
%windir%\Microsoft.NET\Framework\v1.1.4322\
- In "Limit to" radio button and put the same
properties as like for aspx files i.e. GET, POST etc.
Its Done!
Enjoy!!
Regards,
Jignesh Desai.
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|