473,320 Members | 1,955 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,320 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 1402
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.