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

Read from access database with anonymous user

Hello,
I have a site that uses windows authentication and I demand credentials for files inside a specific folder. (through web.config).
My problem is that when I try to read something from my access database with a user that is not yet authorized I always get an error. (I am using a datareader with oledb that works perfectly for authorized users).
I do not want to give access to unauthorized users for the specific folder for security reasons.
Any ideas?

Thank you in advance,
Nick
Jul 21 '05 #1
2 1409
What are you trying to read from the Access database? Is there a way
to have that particular information stored somewhere else? I assume
you're mixing sensitive and non-sensitive information in the one mdb.
Removing the non-sensitive info to another location is one way to skin
the cat without jeopardizing your security schema.

--Mary

On Thu, 20 May 2004 02:41:02 -0700, "darkelf"
<an*******@discussions.microsoft.com> wrote:
Hello,
I have a site that uses windows authentication and I demand credentials for files inside a specific folder. (through web.config).
My problem is that when I try to read something from my access database with a user that is not yet authorized I always get an error. (I am using a datareader with oledb that works perfectly for authorized users).
I do not want to give access to unauthorized users for the specific folder for security reasons.
Any ideas?

Thank you in advance,
Nick


Jul 21 '05 #2
If the insecure info is fairly static data or there's not too much of
it, consider XML files, which are easy to read and write to...

--Mary

On Thu, 20 May 2004 08:01:07 -0700, "darkelf"
<an*******@discussions.microsoft.com> wrote:
You are right about mixing in the same db sensitive and not sensitive data, but unfortunately in this case I think this is unavoidable. If I want to avoid constant duplication of db tables I have to keep it this way. Generally anonymous users should have access to just some parts of the database. Not very secure but...
Anyway I think I solved it by turning off user impersonation. I will check it thoroughly and ...


Jul 21 '05 #3

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

Similar topics

1
by: Brett | last post by:
We have an application where the iusr_<srvr> has write NTFS permissions to a folder under the wwwroot (i.e. wwwroot\folder) and also there is a SQL Server database where we must give the...
1
by: Leonid | last post by:
Hello I have VC++ .NET 2003 ATL Server project. In one of its method I need to write some information in a local txt file. This txt file and this ATL Server are on the same ‘C: \’ drive. When...
4
by: Shawn H. Mesiatowsky | last post by:
I have a strange problem here. I have my development computer with IIS installed, and we have a SQL server as well on a windows 2000 server. both are members of a domain. I have restricted access...
4
by: Miro | last post by:
Hello! I have an ASP.NET application which needs to read some data from an Access database on Novell. I've found an article on Microsoft and did the following: I've created an account on...
2
by: darkelf | last post by:
Hello, I have a site that uses windows authentication and I demand credentials for files inside a specific folder. (through web.config). My problem is that when I try to read something from my...
2
by: dmateer | last post by:
I have the following code in an asp.net page: System.Data.OleDb.OleDbConnection cn = new System.Data.OleDb.OleDbConnection(); cn.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data...
3
by: sammyloo | last post by:
Hi all, I'm experiencing a problem using ASP.NET web services to access a different server with SQL Server 2000 database. And I get the error of the following Exception Details:...
7
by: =?Utf-8?B?a21jY29za2V5?= | last post by:
I'm trying to access an access database on the file server from a web server using asp.net and IIS 6.0. I can do it when I have anonymous access enabled in IIS 6.0 as in the public internet web...
5
by: John | last post by:
I have an ASP.NET 2.0 application developed in VB.net, that accesses an Microsoft Access database. When the database is on the same IIS server all works just fine. BUT when it tried to access the...
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
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
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
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.