If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > asp database access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-05-04, 11:19
llazarj llazarj is offline
Registered User
 
Join Date: Feb 2004
Location: Tirana, Albania
Posts: 1
asp database access

I'm sorry but I never got this right, and I was wondering if anyone could help me with this.

I'm currently working on database-driven website. The database is in Access and I'm using ASP (not . NET) to access it. To access the database all I'm allowed to use are connection strings (I don't have access to and global.asa and so on).

My question is how do I connect to the database, to allow some user add a record to a certain table? What kind of permissions do I need to specify on the IIS, DB and what parameters should I pass through the ASP connection string?

I've been very unsuccessfull in the past with this, it seemed the only way to work this around was to set the db access to everybody modify, write, which i really don't wanna do.

thank you very much for your help,
ll.
Reply With Quote
  #2 (permalink)  
Old 02-05-04, 11:50
gyuan gyuan is offline
Registered User
 
Join Date: Dec 2003
Posts: 454
Post your code of the connection to database.
Reply With Quote
  #3 (permalink)  
Old 02-06-04, 06:56
Mirador Mirador is offline
Registered User
 
Join Date: Jan 2004
Location: Oslo
Posts: 45
Generally....

Hi

Well... i dont know much about the connection string, but i can tell you how i solved something simular to this.

To make sure that one specific asp file got limited access, put it in another folder and put OS Security on the folder.
Result of this is that the user trying to access the asp file within that folder, will have to authenticate to access it.

This is controlled on OS Security level (users, groups etc.etc..)

Hope it helped..

Mirador...
Reply With Quote
  #4 (permalink)  
Old 02-10-04, 03:28
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Quote:
it seemed the only way to work this around was to set the db access to everybody modify, write, which i really don't wanna do.
Yes, I would recommend that unless you just want people to read from the database but not be able to write to it.
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On