473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How secure is forms authentication?

Hi

I was wondering if with forms authentication, it is possible to deny access to the files that are not of the .aspx type.

Thank you for your help

Ali
Nov 18 '05 #1
3 922
Dear Ali

You can very well do that with a little tweaking in IIS making asp.net to handle the type of files. then the authenticatio
would work well.

i assume you are asking for files like doc, ppt which are not handled by asp.net. we can very well do. i have done tha
for my site and it works pretty fine

can you elaborate so that if you need, can tell you the stepls
----- Ali Hadid wrote: ----

Hi

I was wondering if with forms authentication, it is possible to deny access to the files that are not of the .aspx type.

Thank you for your help

Ali
Nov 18 '05 #2
I forgot to mention that some users must have access to the files while others do not

thanks

Ali Hadid
Nov 18 '05 #3
"Ali Hadid" <an*******@discussions.microsoft.com> wrote in message
news:A0**********************************@microsof t.com...
I forgot to mention that some users must have access to the files while

others do not.

That should work fine. Just use <allow> and <deny> appropriately.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
4
by: Leszek | last post by:
Hello, Is there anywhere on the net a simple step-by-step guide how to implement SSL with ASP.NET? My Internet provider enables this feature and I would like to use it to authenticate users on...
2
by: Shimon Sim | last post by:
I am creating application that is mostly is used by registered user. I am using Form security to let user in. I also need to create registration for users. This of cause has to be accessible to...
4
by: MR. UNDERHILL | last post by:
I want to use forms authentication on my website. Looking at the documentation, I create a sample site for testing. One of my requirements is to ensure that SOME pages required an authenticated...
2
by: Craig | last post by:
I have a folder within my web application that holds a bunch of word documents. I have security setup to use forms authentication. If I try and access a .aspx page that is not listed in my...
4
by: Jeff | last post by:
Using ASP.NET 1.1 Suppose I put the following code in an aspx code-behind's Page_Load() event procedure... if ( ! VerifiedSomething()) { Server.Transfer("../NoDice.aspx"); Response.End(); }
1
by: UJ | last post by:
I have a web site that is secure by forms authentication. I've put in changes to allow a virtual directory to be accessed by everyone but it doesn't seem to have taken. I always end up being pushed...
0
by: ruffeo | last post by:
There has been alot on the web about this web.config error that happens in visual studio .net 2005. Most people think this has to do with IIS, but .net 2005 doesn't run on IIS but a developer...
0
by: =?Utf-8?B?SmVmZiBCZWVt?= | last post by:
We have an asp.net 2.0 forms-authenticated application that uses the membership and role providers built into the framework. We already have an administration section in the application for those...
2
by: Timbo | last post by:
Hello all, I have created a secure folder on my web server and created a user and password that can access it. So when you navigate to a page/file within this folder the login box appears. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.