473,387 Members | 1,925 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,387 software developers and data experts.

WebConfig Authorization

Hi,
Inside my asp.net 2 website, I have a a folder where I store several files.
When I try to download a file, I get a Login Form windows.

How to avoid this ?
Thanks
Stan

Sep 4 '06 #1
1 1051
Check the user account used for the ASP.NET worker process or the current
user (in case impersonation is enabled) has access to the folder.

"Stan SR" <st**@pasdepam.netsunset.comwrote in message
news:Oz**************@TK2MSFTNGP06.phx.gbl...
Hi,
Inside my asp.net 2 website, I have a a folder where I store several files.
When I try to download a file, I get a Login Form windows.

How to avoid this ?
Thanks
Stan

Sep 4 '06 #2

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

Similar topics

1
by: Cantekin Guneser | last post by:
when i used <location> tag as follow; </system.web> <location path="members" allowOverride="false"> <system.web> <authentication mode="Forms"> <forms loginUrl="./default.aspx"></forms>...
1
by: Jenny | last post by:
Hi all I'm using forms authentication for my page. My webconfig (parts): <authentication mode="Forms" > <forms name="AuthCookie" path="\" loginUrl="Login.aspx"
1
by: brian | last post by:
I have a webconfig file in my root directory in IIS with session state set for 100 minutes. All login information is stored in session variables for the site. I have a page that is used by our...
2
by: Beren | last post by:
Hello I've got a pretty urgent question. I've just started to use the forms authentication of .NET and to force the authentication I use <forms ... loginUrl="login.aspx" ... /> <deny users="?">...
1
by: Shapper | last post by:
Hello, In my web site I need to restrict the access to page1.aspx, page2.aspx and page3.aspx to users which had login and which access level is "administrator". The remaining pages can be...
7
by: Andrew | last post by:
Hi all, I have a question about the webconfig file, where it states the: <authentication mode="Forms"> <forms name="logincookie" path="/" loginUrl="UserLogin.aspx?Action=login" protection="All"...
4
by: Johnnie Norsworthy | last post by:
ASP.NET 2.0 How do I configure my web site to require forms authorization only for a subfolder off the root? I know how to set Web.config for forms authentication for the whole site, but I need...
2
by: Water Cooler v2 | last post by:
Is the authorization tag/class in web.config\<system.web> available only for Windows authorization? Does it make sense for Forms based authentication?
0
by: jambalapamba | last post by:
Hi I am trying to acess my webconfig file in aspx page .I know we can acess in code behind using ConfigurationManager.ConnectionStrings.ConnectionString; but i want to acess in aspx...
2
by: pavanip | last post by:
I placed my asp.net code in my server and i placed my database stuff in web hosting server.I created a virtual directory in web hosting server to access my files from my server.I have written the...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.