473,406 Members | 2,710 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,406 software developers and data experts.

Allow anonymous access only

Is it possible to allow only anonymous users access to the contents of a
folder, rather than all users?
Mar 31 '06 #1
4 2062
Hi,

if by means of forms authentication it should be <allow users="?" /> in the
web.config
http://msdn2.microsoft.com/en-US/lib...b0(VS.80).aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
Is it possible to allow only anonymous users access to the contents of a
folder, rather than all users?

Mar 31 '06 #2
Well, if you're not prompting them for a username and password, and
you're not talking about integrated authentication on an
Intranet...isn't that anonymous?

Mar 31 '06 #3
DWS
Teemu that backwards for umeet.
This is the correct web.config to deny anominous users.
<deny users="?">

<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration>

Good Luck
DWS
"Teemu Keiski" wrote:
Hi,

if by means of forms authentication it should be <allow users="?" /> in the
web.config
http://msdn2.microsoft.com/en-US/lib...b0(VS.80).aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
Is it possible to allow only anonymous users access to the contents of a
folder, rather than all users?


Apr 1 '06 #4
Yup, please read the original question. It was speficically asked to allow
only anonymous ;-)

Teemu
"DWS" <DW*@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
Teemu that backwards for umeet.
This is the correct web.config to deny anominous users.
<deny users="?">

<?xml version="1.0" encoding="utf-8"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration>

Good Luck
DWS
"Teemu Keiski" wrote:
Hi,

if by means of forms authentication it should be <allow users="?" /> in
the
web.config
http://msdn2.microsoft.com/en-US/lib...b0(VS.80).aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
> Is it possible to allow only anonymous users access to the contents of
> a
> folder, rather than all users?


Apr 3 '06 #5

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

Similar topics

5
by: CM | last post by:
Hi, There: I am working on a commercial ASP web application which use MS Access 2000 as database. When configuring the database access, I got an error saying that this database is a read-only...
2
by: Fran Tirimo | last post by:
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company...
2
by: James | last post by:
how can i allow access to a shared network folder? i am trying to give access to my as pages only. i don't want just anyone to type in the path of my files. i can't seem to do this with a shared...
3
by: Glen Scott | last post by:
Hi, I'm writing an ASP app that administers an ISA server remotely. The fact that it's an ISA server isn't my problem I believe. My question? What is the security difference between disabling...
3
by: Mike Hutton | last post by:
Hi, I have tried to keep things simple. Not simple enough, obviously. I have a set of intranet ASP.NET pages which access a SQL back-end through the normal SQLConnection stuff. I want to use...
1
by: graphicsxp | last post by:
Hi, Until the user has logged on in the web app, the .css file is not found and is not applied to my identification form page :( I've allowed anonymous access to this css file in the web.config...
0
by: furiousmojo | last post by:
Okay, so I thought this would be easy, but it's not turning out that way. Let's see how good you guys are! :-) I have a windows authentication-based Intranet application. An excerpt from the...
4
by: arggg | last post by:
I have disabled IWA as I want to handle the authentication my self. I have Allow Anonymous checked with the user IUSR_<MachineName> and unchecked IWA. It then says I do not have access when trying...
0
by: Peter Duniho | last post by:
On Mon, 01 Sep 2008 16:14:10 -0700, Blip <blip@krumpli.comwrote: Briefly, an anonymous method is exactly that: a method without a name. When you use the "delegate" keyword to declare an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.