Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
ASP & Database
Name: xscript Date: June 28, 2006 at 01:00:49 Pacific OS: Windows XP CPU/Ram: NA Product: NA
Comment:
Hi,
I was wondering what the best way to securely connect to a database is using ASP? I have a connection to a database from an ASP page. It all works fine, but I find that I have to give lots of rights to the web user to the database so the ASP page can write data to it. This could be abused by somebody who could storm the database and write a load of junk to it.
How can I restrict access to just the ASP page to write to the database?
Name: Chi Happens Date: June 28, 2006 at 03:58:33 Pacific
Reply:
I typically move the database into a folder that is not accessible via the web, for instance above the www (or wwwroot) folder, and then give security access to that folder, which is not accessible to anyone outside of the machine.
Hope this helps, Chi
They mostly come at night...mostly.
0
Response Number 2
Name: xscript Date: June 29, 2006 at 07:38:46 Pacific
Reply:
Chi,
Yes, this is what I thought about doing, but the database is for an online enquiry form, so I have to give the anonymous web user write rights to the DB don't I?
Thanks
Xscript
0
Response Number 3
Name: bakss Date: June 30, 2006 at 14:31:57 Pacific
Reply:
you need to limit an access to your page with username and password and to save them in session object
Summary: Hi guys, I'm a student at a local community college and the bookstore is ripping us off (those in college know this). I plan to use an Access database. I have done ASP with databases on my own but ca...
Summary: Hi guys. Good day. I just tried to build an E-Card website for a project in our school but I do not know what the needed scripts are or is there a need for an ASP or database to build it. I already ha...
Summary: Most free web site hosts do not support databases. There a few I can think of though. Spaceports supports PHP/MySQL databases and Brinkster supports ASP/Access databases. I think ASP/Access/ODBC datab...